diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/controller/TodoCenterController.java b/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/controller/TodoCenterController.java index 300767d..61f0a5a 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/controller/TodoCenterController.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/controller/TodoCenterController.java @@ -7,6 +7,7 @@ import javax.validation.Valid; import com.ningdatech.log.annotation.WebLog; import com.ningdatech.pmapi.todocenter.model.vo.NotSealedInfoVO; import com.ningdatech.pmapi.todocenter.model.vo.TodoNumVO; +import com.wflow.workflow.bean.dto.ReqAuditOpinionSaveDTO; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; @@ -102,7 +103,7 @@ public class TodoCenterController { */ @PostMapping("/saveAuditOpinion") @WebLog("保存盖章审核提交的审核意见") - public Object saveAuditOpinion(@Valid @RequestBody ReqProcessHandlerDTO param) { + public Object saveAuditOpinion(@Valid @RequestBody ReqAuditOpinionSaveDTO param) { return todoCenterManage.saveAuditOpinion(param); } diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java index d439fe3..4031202 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java @@ -27,6 +27,7 @@ import com.ningdatech.pmapi.todocenter.model.vo.*; import com.ningdatech.pmapi.todocenter.model.vo.TodoNumVO; import com.ningdatech.pmapi.user.security.auth.model.UserInfoDetails; import com.wflow.contants.HisProInsEndActId; +import com.wflow.workflow.bean.dto.ReqAuditOpinionSaveDTO; import com.wflow.workflow.bean.process.ProcessComment; import com.wflow.workflow.bean.process.enums.NodeTypeEnum; import com.wflow.workflow.utils.ProcessTaskUtils; @@ -1709,7 +1710,7 @@ public class TodoCenterManage { return tasks.get(0).getId(); } - public Object saveAuditOpinion(ReqProcessHandlerDTO param) { + public Object saveAuditOpinion(ReqAuditOpinionSaveDTO param) { // 获取登录用户ID UserFullInfoDTO user = userInfoHelper.getUserFullInfo(LoginUserUtil.getUserId()); // 获取登录用户浙政钉code