管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-12-22 86c61baa66da3c124cb104c50c921c30fa5b3992
1
已修改5个文件
56 ■■■■■ 文件已修改
data/db_fn.sql 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
data/日报.txt 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/lf/server/entity/data/DownloadEntity.java 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/lf/server/service/show/ExportService.java 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/data/DownloadMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
data/db_fn.sql
@@ -339,7 +339,7 @@
select ns,tab,tab_desc,field,type from lf.sys_dict;
select type from lf.sys_dict group by type;
select * from lf.sys_dict where ns='bd' and tab='dlg_agnp';
select count(distinct tab) from lf.sys_dict where tab like '%b_b%';
data/ÈÕ±¨.txt
@@ -264,4 +264,39 @@
2 æœåŠ¡å¼€å‘ï¼š
修改管道资料馆接口
开发一张图接口
=========================================2022-12-15
本周:
1 Web开发:
1)综合展示:
1.1 ç³»ç»Ÿç™»å½•默认界面为综合展示,显示图层管理,底图更改为高德地图
1.2 ä¿®æ”¹åœ¨çº¿åˆ¶å›¾ç•Œé¢ï¼Œå¯¹åŠŸèƒ½è¿›è¡Œä¼˜åŒ–
1.3 ä¿®æ”¹ä¸“题图界面,对功能进行优化
1.4 èµ„料馆添加空间查询和数据下载(zip加密)功能
2)数据管理
1.5 ä¿®æ”¹æ•°æ®ä¸Šä¼ ã€æ•°æ®å…¥åº“页面,对功能进行优化
1.6 ä¿®æ”¹é¡¹ç›®ç®¡ç†åŠŸèƒ½ï¼Œè§£å†³æ›´æ–°å¼‚å¸¸
2 æœåŠ¡å¼€å‘ï¼š
2.1 ä¿®æ”¹å…ƒæ•°æ®ç®¡ç†çš„æŸ¥è¯¢è¡¨æ•°æ®ã€æŸ¥è¯¢å­—段信息接口
2.2 æ•°æ®æ£€ç´¢æ·»åŠ æ ¹æ®è¡¨ååˆ†é¡µæŸ¥è¯¢è¡¨ã€è¯·æ±‚DB数据下载接口
2.3 ä¿®æ”¹é¡¹ç›®ç®¡ç†çš„æ’入一条和修改一条记录接口
2.4 èµ„料馆添加数据打包下载功能,分页查询添加对过滤条件的支持
3 ç³»ç»Ÿå‘布:
3.1 ä¿®æ”¹åœ¨çº¿åˆ¶å›¾çš„QGIS模板,将图层服务更改为GeoServer的WMS服务
3.2 ä¿®æ”¹Jre的扩展库,添加对FileGDB写操作的支持
下周:
1 Web开发:
综合展示开发数据打包、数据上传、演示方案功能
修改管道资料馆页,开发动态过滤条件
数据上传、数据入库添加上传进度
在线制图修改界面及出图模板
2 æœåŠ¡å¼€å‘ï¼š
修改管道资料馆接口添加数据申请接口
元数据管理开发根据单位、目录查询其子级数据功能
开发下载日志功能接口
=========================================
src/main/java/com/lf/server/entity/data/DownloadEntity.java
@@ -42,6 +42,8 @@
    private String bak;
    private String createName;
    public DownloadEntity() {
    }
@@ -172,4 +174,12 @@
    public void setBak(String bak) {
        this.bak = bak;
    }
    public String getCreateName() {
        return createName;
    }
    public void setCreateName(String createName) {
        this.createName = createName;
    }
}
src/main/java/com/lf/server/service/show/ExportService.java
@@ -63,7 +63,7 @@
            return null;
        }
        DownloadEntity de = getDownloadEntity(ue, file);
        DownloadEntity de = getDownloadEntity(ue, entity, file);
        int rows = downloadService.insert(de);
        return rows > 0 ? de.getGuid() : null;
@@ -97,7 +97,7 @@
    /**
     * èŽ·å–ä¸‹è½½å®žä½“ç±»
     */
    private DownloadEntity getDownloadEntity(UserEntity ue, String file) throws Exception {
    private DownloadEntity getDownloadEntity(UserEntity ue, ExportEntity entity, String file) throws Exception {
        DownloadEntity de = new DownloadEntity();
        de.setName(FileHelper.getFileName(file));
        de.setType(2);
@@ -106,7 +106,8 @@
        de.setDcount(0);
        // de.setPwd(null)
        de.setUrl(FileHelper.getRelativePath(file));
        de.setDescr("专题图文件");
        // de.setDescr("专题图文件")
        de.setDescr(StringHelper.isEmpty(entity.getTitle()) ? "专题图文件" : entity.getTitle().trim());
        de.setGuid(FileHelper.getFileMd5(file));
        de.setCreateUser(ue.getId());
        // de.setGeom(null)
src/main/resources/mapper/data/DownloadMapper.xml
@@ -32,7 +32,7 @@
    </select>
    <select id="selectByPageForUser" resultType="com.lf.server.entity.data.DownloadEntity">
        select * from lf.sys_download
        select *, fn_uname(create_user) createName from lf.sys_download
        <where>
            create_user = #{createUser} and type = #{type}
            <if test="name != null">