管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-03-02 c1c2596883cd00b46fcfc783ab8c2af62e138f01
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.show.PipelineEntity;
import com.lf.server.entity.sys.UserEntity;
import com.lf.server.helper.PathHelper;
import com.lf.server.helper.StringHelper;
@@ -17,6 +18,7 @@
import com.lf.server.service.all.BaseUploadService;
import com.lf.server.service.data.DownloadService;
import com.lf.server.service.show.MarkService;
import com.lf.server.service.show.PipelineService;
import com.lf.server.service.sys.DownlogService;
import com.lf.server.service.sys.TokenService;
import io.swagger.annotations.Api;
@@ -56,6 +58,25 @@
    @Autowired
    DownloadService downloadService;
    @Autowired
    PipelineService pipelineService;
    @SysLog()
    @ApiOperation(value = "查询管线")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "name", value = "名称", dataType = "String", paramType = "query", example = "西气东输"),
    })
    @GetMapping(value = "/selectPipelines")
    public ResponseMsg<Object> selectPipelines(String name) {
        try {
            List<PipelineEntity> rs = pipelineService.selectPipelines(name);
            return success(rs);
        } catch (Exception ex) {
            return fail(ex, null);
        }
    }
    @SysLog()
    @ApiOperation(value = "查询路网")
    @ApiImplicitParams({