管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-03-21 b33da9f05ef80e5c47c798d652c5df3eb3004f94
1
已修改2个文件
25 ■■■■■ 文件已修改
data/db_cx.sql 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/lf/server/controller/show/ComprehensiveController.java 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
data/db_cx.sql
@@ -26,8 +26,8 @@
select * from lf.sys_layer order by id desc limit 20;     -- delete from lf.sys_layer where id > 441;
select coalesce(max(order_num), 0) + 1 from lf.sys_layer where pid = (select id from lf.sys_layer where cn_name = '自动发布模型' limit 1);
select * from lf.sys_meta where id in (1523,1525);
select * from lf.sys_meta where id in (1523,1529,1525);
select * from lf.sys_meta where type='gdb' or position('gdb' in name) > 0;
src/main/java/com/lf/server/controller/show/ComprehensiveController.java
@@ -8,6 +8,7 @@
import com.lf.server.entity.ctrl.MarkJsonEntity;
import com.lf.server.entity.data.DownloadEntity;
import com.lf.server.entity.data.MetaFileEntity;
import com.lf.server.entity.data.PublishEntity;
import com.lf.server.entity.show.PipelineEntity;
import com.lf.server.entity.sys.AttachEntity;
import com.lf.server.entity.sys.UserEntity;
@@ -18,6 +19,7 @@
import com.lf.server.service.all.UploadAttachService;
import com.lf.server.service.data.DataQueryService;
import com.lf.server.service.data.DownloadService;
import com.lf.server.service.data.PublishService;
import com.lf.server.service.show.MarkService;
import com.lf.server.service.show.PipelineService;
import com.lf.server.service.sys.AttachService;
@@ -59,6 +61,9 @@
    DownlogService downlogService;
    @Autowired
    PublishService publishService;
    @Autowired
    DownloadService downloadService;
    @Autowired
@@ -74,6 +79,22 @@
    UploadAttachService uploadAttachService;
    @SysLog()
    @ApiOperation(value = "根据ID查询发布清单")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1")
    })
    @GetMapping(value = "/selectPubById")
    public ResponseMsg<PublishEntity> selectPubById(int id) {
        try {
            PublishEntity entity = publishService.selectById(id);
            return success(entity);
        } catch (Exception ex) {
            return fail(ex.getMessage(), null);
        }
    }
    @SysLog()
    @ApiOperation(value = "查询管线")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "name", value = "名称", dataType = "String", paramType = "query", example = "西气东输"),