13693261870
8 天以前 b8d62de41ff7e1e0549061308aa11f68cf881ed9
se-system/src/main/java/com/terra/system/controller/data/upload/CheckController.java
@@ -10,10 +10,12 @@
import com.terra.system.helper.PathHelper;
import com.terra.system.helper.StringHelper;
import com.terra.system.service.data.FmeService;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.Parameters;
import javax.annotation.Resource;
import io.swagger.v3.oas.annotations.enums.ParameterIn;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@@ -38,9 +40,9 @@
    protected FmeService fmeService;
    @SysLog()
    @ApiOperation(value = "查询任务状态")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id", value = "任务ID", dataType = "String", paramType = "query", example = "29db09ee-2aae-4c62-bec0-0b5c5d8084e4")
    @Operation(summary = "查询任务状态")
    @Parameters({
            @Parameter(name = "id", description = "任务ID", in = ParameterIn.QUERY, example = "29db09ee-2aae-4c62-bec0-0b5c5d8084e4")
    })
    @GetMapping(value = "/selectTaskStatus")
    public Object selectTaskStatus(String id, HttpServletRequest req) {
@@ -56,9 +58,9 @@
    }
    @SysLog()
    @ApiOperation(value = "下载质检结果")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id", value = "任务ID", dataType = "String", paramType = "query", example = "29db09ee-2aae-4c62-bec0-0b5c5d8084e4")
    @Operation(summary = "下载质检结果")
    @Parameters({
            @Parameter(name = "id", description = "任务ID", in = ParameterIn.QUERY, example = "29db09ee-2aae-4c62-bec0-0b5c5d8084e4")
    })
    @GetMapping(value = "/downloadResult")
    public void downloadResult(String id, HttpServletRequest req, HttpServletResponse res) {
@@ -76,9 +78,9 @@
    }
    @SysLog()
    @ApiOperation(value = "提交数据质检")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "entity", value = "FME请求实体类", dataType = "FmeReqEntity", paramType = "body")
    @Operation(summary = "提交数据质检")
    @Parameters({
            @Parameter(name = "entity", description = "FME请求实体类")
    })
    @ResponseBody
    @PostMapping(value = "/uploadChecks")
@@ -167,7 +169,7 @@
    }
    /*@SysLog()
    @ApiOperation(value = "查询OSGB检查")
    @Operation(summary = "查询OSGB检查")
    @GetMapping(value = "/selectCheckOsgb")
    public ResponseMsg<Object> selectCheckOsgb(HttpServletRequest req) {
        try {
@@ -188,7 +190,7 @@
    }
    @SysLog()
    @ApiOperation(value = "查询表格数据检查")
    @Operation(summary = "查询表格数据检查")
    @GetMapping(value = "/selectCheckXls")
    public ResponseMsg<Object> selectCheckXls(HttpServletRequest req) {
        try {
@@ -209,7 +211,7 @@
    }
    @SysLog()
    @ApiOperation(value = "查询点云检查")
    @Operation(summary = "查询点云检查")
    @GetMapping(value = "/selectCheckLaz")
    public ResponseMsg<Object> selectCheckLaz(HttpServletRequest req) {
        try {
@@ -230,7 +232,7 @@
    }
    @SysLog()
    @ApiOperation(value = "查询高程检查")
    @Operation(summary = "查询高程检查")
    @GetMapping(value = "/selectCheckDem")
    public ResponseMsg<Object> selectCheckDem(HttpServletRequest req) {
        try {
@@ -252,7 +254,7 @@
    }
    @SysLog()
    @ApiOperation(value = "查询属性检查")
    @Operation(summary = "查询属性检查")
    @GetMapping(value = "/selectCheckAttrs")
    public ResponseMsg<Object> selectCheckAttrs(HttpServletRequest req) {
        try {
@@ -273,7 +275,7 @@
    }
    @SysLog()
    @ApiOperation(value = "查询拓扑检查")
    @Operation(summary = "查询拓扑检查")
    @GetMapping(value = "/selectCheckTopology")
    public ResponseMsg<Object> selectCheckTopology(HttpServletRequest req) {
        try {
@@ -300,7 +302,7 @@
    }
    @SysLog()
    @ApiOperation(value = "查询图面整饰检查")
    @Operation(summary = "查询图面整饰检查")
    @GetMapping(value = "/selectCheckDecorate")
    public ResponseMsg<Object> selectCheckDecorate(HttpServletRequest req) {
        try {
@@ -321,7 +323,7 @@
    }
    @SysLog()
    @ApiOperation(value = "查询原点检查")
    @Operation(summary = "查询原点检查")
    @GetMapping(value = "/selectCheckOrigin")
    public ResponseMsg<Object> selectCheckOrigin(HttpServletRequest req) {
        try {
@@ -341,7 +343,7 @@
    }
    @SysLog()
    @ApiOperation(value = "查询栅格检查")
    @Operation(summary = "查询栅格检查")
    @GetMapping(value = "/selectCheckDom")
    public ResponseMsg<Object> selectCheckDom(HttpServletRequest req) {
        try {
@@ -364,7 +366,7 @@
    }
    @SysLog()
    @ApiOperation(value = "查询数学基础检查")
    @Operation(summary = "查询数学基础检查")
    @GetMapping(value = "/selectCheckMath")
    public ResponseMsg<Object> selectCheckMath(HttpServletRequest req) {
        try {
@@ -385,7 +387,7 @@
    }
    @SysLog()
    @ApiOperation(value = "查询元数据检查")
    @Operation(summary = "查询元数据检查")
    @GetMapping(value = "/selectCheckMeta")
    public ResponseMsg<Object> selectCheckMeta(HttpServletRequest req) {
        try {
@@ -406,7 +408,7 @@
    }
    @SysLog()
    @ApiOperation(value = "查询总质检")
    @Operation(summary = "查询总质检")
    @GetMapping(value = "/selectCheckMain")
    public ResponseMsg<Object> selectCheckMain(HttpServletRequest req) {
        try {
@@ -430,7 +432,7 @@
    }
    @SysLog()
    @ApiOperation(value = "逻辑一致性检查")
    @Operation(summary = "逻辑一致性检查")
    @GetMapping(value = "/checkLogical")
    public ResponseMsg<Object> checkLogical(HttpServletRequest req) {
        try {
@@ -451,7 +453,7 @@
    }
    @SysLog()
    @ApiOperation(value = "单项成果完整性检查")
    @Operation(summary = "单项成果完整性检查")
    @GetMapping(value = "/checkSingleIntegrity")
    public ResponseMsg<Object> checkSingleIntegrity(HttpServletRequest req) {
        try {
@@ -473,7 +475,7 @@
    }*/
    @SysLog()
    @ApiOperation(value = "服务注册")
    @Operation(summary = "服务注册")
    @GetMapping(value = "/selectServerRegister")
    public ResponseMsg<Object> selectServerRegister(HttpServletRequest req) {
        try {
@@ -489,10 +491,10 @@
    }
    @SysLog()
    @ApiOperation(value = "服务申请")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id", value = "服务ID", dataType = "String", paramType = "query", example = "195f77eb-19dd-4e34-afc1-fcff8f758f7b"),
            @ApiImplicitParam(name = "pubid", value = "发布ID", dataType = "Integer", paramType = "query", example = "1"),
    @Operation(summary = "服务申请")
    @Parameters({
            @Parameter(name = "id", description = "服务ID", in = ParameterIn.QUERY, example = "195f77eb-19dd-4e34-afc1-fcff8f758f7b"),
            @Parameter(name = "pubid", description = "发布ID", in = ParameterIn.QUERY, example = "1"),
    })
    @GetMapping(value = "/selectServerApply")
    public ResponseMsg<Object> selectServerApply(String id, Integer pubid, HttpServletRequest req) {
@@ -506,9 +508,9 @@
    }
    @SysLog()
    @ApiOperation(value = "删除资源")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id", value = "服务ID", dataType = "String", paramType = "query", example = "6f4b6783-4b98-4d46-a0d9-43cdb5f339dc")
    @Operation(summary = "删除资源")
    @Parameters({
            @Parameter(name = "id", description = "服务ID", in = ParameterIn.QUERY, example = "6f4b6783-4b98-4d46-a0d9-43cdb5f339dc")
    })
    @GetMapping(value = "/selectDeleteRes")
    public ResponseMsg<Object> selectDeleteRes(String id, HttpServletRequest req) {