Commit b07c93e5 by 林冲

add:删除多余接口

1 parent 97964bc6
...@@ -8,7 +8,6 @@ import com.gsc4cloud.gsc.facade.vpcweb.service.checkreport.CheckReportWebService ...@@ -8,7 +8,6 @@ import com.gsc4cloud.gsc.facade.vpcweb.service.checkreport.CheckReportWebService
import com.gsc4cloud.gsc.vpc.api.dto.web.resdto.checkreport.CheckReportDetailResDTO; import com.gsc4cloud.gsc.vpc.api.dto.web.resdto.checkreport.CheckReportDetailResDTO;
import com.gsc4cloud.gsc.vpc.api.dto.web.resdto.checkreport.CheckReportPageResDTO; import com.gsc4cloud.gsc.vpc.api.dto.web.resdto.checkreport.CheckReportPageResDTO;
import com.gsc4cloud.gsc.vpc.api.req.PageRequest; import com.gsc4cloud.gsc.vpc.api.req.PageRequest;
import com.gsc4cloud.gsc.vpc.api.req.web.checkreport.CheckReportCreateRequest;
import com.gsc4cloud.gsc.vpc.api.req.web.checkreport.CheckReportDetailRequest; import com.gsc4cloud.gsc.vpc.api.req.web.checkreport.CheckReportDetailRequest;
import com.gsc4cloud.gsc.vpc.api.req.web.checkreport.CheckReportExportRequest; import com.gsc4cloud.gsc.vpc.api.req.web.checkreport.CheckReportExportRequest;
import com.gsc4cloud.gsc.vpc.api.req.web.checkreport.CheckReportPageRequest; import com.gsc4cloud.gsc.vpc.api.req.web.checkreport.CheckReportPageRequest;
...@@ -16,7 +15,10 @@ import io.swagger.v3.oas.annotations.Operation; ...@@ -16,7 +15,10 @@ import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource; import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/** /**
* 车辆检测报告管理(Web端) * 车辆检测报告管理(Web端)
...@@ -63,22 +65,6 @@ public class CheckReportWebController { ...@@ -63,22 +65,6 @@ public class CheckReportWebController {
} }
/** /**
* 新增查询任务
*/
@Operation(summary = "新增查询任务")
@RopSession
@PostMapping("/create")
public R<Long> create(@RequestBody CheckReportCreateRequest request) {
log.info("请求参数{}", JSONObject.toJSONString(request));
try {
return checkReportWebService.create(request);
} catch (Exception e) {
log.error("新增查询任务失败", e);
return R.failed(e.getMessage());
}
}
/**
* 导出报告管理 * 导出报告管理
*/ */
@Operation(summary = "导出报告管理") @Operation(summary = "导出报告管理")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!