diff --git a/src/main/java/com/xdap/self_development/controller/ActivitiProcessController.java b/src/main/java/com/xdap/self_development/controller/ActivitiProcessController.java index adfd9d5..3f4e116 100644 --- a/src/main/java/com/xdap/self_development/controller/ActivitiProcessController.java +++ b/src/main/java/com/xdap/self_development/controller/ActivitiProcessController.java @@ -2,15 +2,14 @@ package com.xdap.self_development.controller; import com.definesys.mpaas.common.http.Response; -import com.xdap.self_development.controller.form.ApprovalUserNodeDTO; import com.xdap.self_development.controller.form.HandleApprovalRequest; import com.xdap.self_development.controller.form.HandleReturnNodeForm; import com.xdap.self_development.controller.form.UpdateNodeForm; import com.xdap.self_development.controller.request.ApprovalNodeRequest; import com.xdap.self_development.controller.request.EngineReviewListRequest; import com.xdap.self_development.exception.CommonException; -import com.xdap.self_development.pojo.EngineReviewListPojo; -import com.xdap.self_development.pojo.dto.*; +import com.xdap.self_development.domain.pojo.EngineReviewListPojo; +import com.xdap.self_development.domain.dto.*; import com.xdap.self_development.service.ActivitiProcessService; import com.xdap.self_development.service.EngineReviewListService; import org.springframework.beans.factory.annotation.Autowired; @@ -80,7 +79,7 @@ public class ActivitiProcessController { public Response initiateApproval(@RequestParam(value = "modelID") String modelID , @RequestParam(value = "userID") String userID) { List msg = activitiProcessService.initiateApproval(modelID,userID); return Response.ok().data(msg); - }; + } // //平台发起审批时生成本地审批流 // @PostMapping(value = "/startActivitiByPlatform") // public Response startActivitiByPlatform(@RequestBody ApprovalByPlatformRequest request) { @@ -106,19 +105,22 @@ public class ActivitiProcessController { public Response handleApproval(@RequestBody HandleApprovalDTO handleApprovalDTO) { String msg = activitiProcessService.handleApproval(handleApprovalDTO); return Response.ok().data(msg); - }; + } + //查看审批 @PostMapping(value = "/showEngReview") public Response showEngReview(@RequestBody EngineReviewListRequest engineReviewListRequest) { PageResultDTO msg = engineReviewListService.selectEngineReviewListByUserId(engineReviewListRequest); return Response.ok().data(msg); - }; + } + //申请人退回审批 @GetMapping(value = "/returnApproval") public Response returnApproval(@RequestParam(value = "approvalId") String approvalId) { String msg = engineReviewListService.returnApproval(approvalId); return Response.ok().data(msg); - }; + } + // 获取是否直送 @GetMapping("/getIsDirect") public Response getIsDirect( diff --git a/src/main/java/com/xdap/self_development/controller/AnalysisCommonController.java b/src/main/java/com/xdap/self_development/controller/AnalysisCommonController.java index 524203d..227d3bd 100644 --- a/src/main/java/com/xdap/self_development/controller/AnalysisCommonController.java +++ b/src/main/java/com/xdap/self_development/controller/AnalysisCommonController.java @@ -3,9 +3,9 @@ package com.xdap.self_development.controller; import com.definesys.mpaas.common.http.Response; import com.xdap.self_development.controller.request.AnalysisRequest; import com.xdap.self_development.controller.request.ReportRequest; -import com.xdap.self_development.pojo.DataEntryEngineModelPojo; -import com.xdap.self_development.pojo.view.AnalysisModelParamterView; -import com.xdap.self_development.pojo.view.AnalysisModelParamterViewAndParam; +import com.xdap.self_development.domain.pojo.DataEntryEngineModelPojo; +import com.xdap.self_development.domain.view.AnalysisModelParamterView; +import com.xdap.self_development.domain.view.AnalysisModelParamterViewAndParam; import com.xdap.self_development.service.AnalysisCommonParametersService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; diff --git a/src/main/java/com/xdap/self_development/controller/BenchmarkingReportController.java b/src/main/java/com/xdap/self_development/controller/BenchmarkingReportController.java index ce62304..da8b9f9 100644 --- a/src/main/java/com/xdap/self_development/controller/BenchmarkingReportController.java +++ b/src/main/java/com/xdap/self_development/controller/BenchmarkingReportController.java @@ -4,10 +4,10 @@ import com.definesys.mpaas.common.http.Response; import com.definesys.mpaas.query.db.PageQueryResult; import com.xdap.self_development.controller.form.*; import com.xdap.self_development.exception.CommonException; -import com.xdap.self_development.pojo.BenchmarkingReport; -import com.xdap.self_development.pojo.dto.ApprovalNodesDTO; -import com.xdap.self_development.pojo.view.ApprovalFlowNodeView; -import com.xdap.self_development.pojo.view.TodoAndReportView; +import com.xdap.self_development.domain.pojo.BenchmarkingReportPojo; +import com.xdap.self_development.domain.dto.ApprovalNodesDTO; +import com.xdap.self_development.domain.view.ApprovalFlowNodeView; +import com.xdap.self_development.domain.view.TodoAndReportView; import com.xdap.self_development.service.BenchmarkingReportService; import org.springframework.validation.BindingResult; import org.springframework.web.bind.annotation.*; @@ -17,7 +17,6 @@ import javax.annotation.Resource; import javax.validation.Valid; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; -import java.util.List; @RestController @RequestMapping("/custom/benchmark") @@ -204,7 +203,7 @@ public class BenchmarkingReportController { public Response getReportDetail( @NotBlank String reportId ) { - BenchmarkingReport report = benchmarkingReportService + BenchmarkingReportPojo report = benchmarkingReportService .getReportDetail(reportId); return Response.ok().data(report); } diff --git a/src/main/java/com/xdap/self_development/controller/CommonParameterController.java b/src/main/java/com/xdap/self_development/controller/CommonParameterController.java index 6c919ec..2abebfd 100644 --- a/src/main/java/com/xdap/self_development/controller/CommonParameterController.java +++ b/src/main/java/com/xdap/self_development/controller/CommonParameterController.java @@ -3,7 +3,7 @@ package com.xdap.self_development.controller; import com.definesys.mpaas.common.http.Response; import com.xdap.self_development.controller.form.*; import com.xdap.self_development.exception.CommonException; -import com.xdap.self_development.pojo.AnalysisCommonParameters; +import com.xdap.self_development.domain.pojo.AnalysisCommonParametersPojo; import com.xdap.self_development.service.CommonParameterService; import org.springframework.validation.BindingResult; import org.springframework.web.bind.annotation.*; @@ -70,7 +70,7 @@ public class CommonParameterController { public Response getAnalysisCommonParameter( @NotBlank @RequestParam String userId ) { - List list = commonParameterService.getAnalysisCommonParameter(userId); + List list = commonParameterService.getAnalysisCommonParameter(userId); return Response.ok().data(list); } diff --git a/src/main/java/com/xdap/self_development/controller/DataEntryController.java b/src/main/java/com/xdap/self_development/controller/DataEntryController.java index 0ecd3b8..e344887 100644 --- a/src/main/java/com/xdap/self_development/controller/DataEntryController.java +++ b/src/main/java/com/xdap/self_development/controller/DataEntryController.java @@ -7,8 +7,8 @@ import com.xdap.runtime.service.RuntimeDatasourceService; import com.xdap.runtime.service.RuntimeUserService; import com.xdap.self_development.controller.form.OptionForm; import com.xdap.self_development.controller.form.TemplateForm; -import com.xdap.self_development.pojo.Parameter; -import com.xdap.self_development.pojo.Template; +import com.xdap.self_development.domain.pojo.ParameterPojo; +import com.xdap.self_development.domain.pojo.TemplatePojo; import com.xdap.self_development.service.DataEntryService; import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; @@ -56,14 +56,14 @@ public class DataEntryController { // 筛选条件 模板的模糊搜索 @GetMapping("/getTemplateByCondition") public Response getTemplateByCondition(@RequestParam("templateName") String templateName) { - List