管道基础大数据平台系统开发-【后端】-Server
13693261870
2024-03-25 b6b0cb226fcf184525ee7b36af3a09471e9c0057
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 = "西气东输"),