From 04131330737cd757a5f273424483f73926dbf49b Mon Sep 17 00:00:00 2001 From: yang_shj <1069818635@QQ.com> Date: Wed, 16 Aug 2023 11:31:17 +0800 Subject: [PATCH] =?UTF-8?q?#=E7=BC=BA=E9=99=B7=E3=80=81=E5=B7=A1=E6=A3=80?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hzims/operational/defect/vo/SolveHomeVO.java | 2 - .../defect/controller/DefectCheckController.java | 54 +--------------------- 2 files changed, 1 insertion(+), 55 deletions(-) diff --git a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/defect/vo/SolveHomeVO.java b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/defect/vo/SolveHomeVO.java index 0c4f5f1..f62efcd 100644 --- a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/defect/vo/SolveHomeVO.java +++ b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/defect/vo/SolveHomeVO.java @@ -3,13 +3,11 @@ package com.hnac.hzims.operational.defect.vo; import io.swagger.annotations.ApiModelProperty; import lombok.Data; -import lombok.EqualsAndHashCode; /** * @author ysj */ @Data -@EqualsAndHashCode(callSuper = true) public class SolveHomeVO { @ApiModelProperty(value = "缺陷数量") diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/defect/controller/DefectCheckController.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/defect/controller/DefectCheckController.java index 4f93ac5..25614c8 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/defect/controller/DefectCheckController.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/defect/controller/DefectCheckController.java @@ -9,7 +9,6 @@ import lombok.AllArgsConstructor; import org.springblade.core.boot.ctrl.BladeController; import org.springblade.core.log.annotation.ApiLog; import org.springblade.core.tool.api.R; -import org.springblade.flow.core.vo.ComleteTask; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -41,55 +40,4 @@ public class DefectCheckController extends BladeController { return R.data(service.startCheck(phenomenon)); } - /** - * 甄别缺陷 - * @param task - * @return - */ - @PostMapping("/screeDefect") - @ApiOperationSupport(order = 2) - @ApiOperation(value = "甄别缺陷", notes = "流程对象") - public R screeDefect(@RequestBody ComleteTask task) { - service.screeDefect(task); - return R.success("甄别完成"); - } - - /** - * 决策处理方式 - * @param task - * @return - */ - @PostMapping("/treatmentMethod") - @ApiOperationSupport(order = 3) - @ApiOperation(value = "决策处理方式", notes = "流程对象") - public R treatmentMethod(@RequestBody ComleteTask task) { - service.treatmentMethod(task); - return R.data("决策处理方式完成"); - } - - /** - * 补开工作票 - * @param task - * @return - */ - @PostMapping("/makeUpTicket") - @ApiOperationSupport(order = 4) - @ApiOperation(value = "补开工作票", notes = "流程对象") - public R makeUpTicket(@RequestBody ComleteTask task) { - service.makeUpTicket(task); - return R.data("补开工作票完成"); - } - - /** - * 定论 - * @param task - * @return - */ - @PostMapping("/conclusion") - @ApiOperationSupport(order = 5) - @ApiOperation(value = "定论", notes = "流程对象") - public R conclusion(@RequestBody ComleteTask task) { - service.conclusion(task); - return R.data("定论完成,流程结束"); - } -} +} \ No newline at end of file