From 01410747fc92a6f7bccdf9497fcde43368dc9752 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期六, 30 十一月 2024 08:05:27 +0800 Subject: [PATCH] 项目跟进回显部门 --- business/src/main/java/com/ycl/controller/ProjectPlanExamineRecordController.java | 22 ++++++++++++++++++---- 1 files changed, 18 insertions(+), 4 deletions(-) diff --git a/business/src/main/java/com/ycl/controller/ProjectPlanExamineRecordController.java b/business/src/main/java/com/ycl/controller/ProjectPlanExamineRecordController.java index 169c98f..4f4652f 100644 --- a/business/src/main/java/com/ycl/controller/ProjectPlanExamineRecordController.java +++ b/business/src/main/java/com/ycl/controller/ProjectPlanExamineRecordController.java @@ -1,6 +1,7 @@ package com.ycl.controller; import com.ycl.common.base.Result; +import com.ycl.common.core.controller.BaseController; import com.ycl.common.group.Add; import com.ycl.common.group.Update; import com.ycl.domain.form.ProjectPlanExamineRecordForm; @@ -27,7 +28,7 @@ @Api(value = "椤圭洰瀹℃牳璁板綍琛�", tags = "椤圭洰瀹℃牳璁板綍琛ㄧ鐞�") @RestController @RequestMapping("/api/project-plan-examine-record") -public class ProjectPlanExamineRecordController { +public class ProjectPlanExamineRecordController extends BaseController { private final ProjectPlanExamineRecordService projectPlanExamineRecordService; @@ -90,8 +91,21 @@ return projectPlanExamineRecordService.planLog(projectPlanRecordId); } - @PostMapping("/replyDepartmentApproval") - public Result replyDepartmentApproval(@RequestBody ProjectPlanExamineRecordForm form) { - return projectPlanExamineRecordService.replyDepartmentApproval(form); + @PostMapping("/saveExamine") + public Result saveExamine(@RequestBody ProjectPlanExamineRecordForm form) { + return projectPlanExamineRecordService.saveExamine(form); } + + @PostMapping("/replyExamine") + public Result replyExamine(@RequestBody ProjectPlanExamineRecordForm form) { + return projectPlanExamineRecordService.replyExamine(form); + } + + @GetMapping("/todo_list") +// @PreAuthorize("hasAuthority('projectPlanExamineRecord:list')") + @ApiOperation(value = "杩涘害寰呭姙鍒楄〃", notes = "杩涘害寰呭姙鍒楄〃") + public Result todoList(ProjectPlanExamineRecordQuery query) { + return projectPlanExamineRecordService.todoList(getUserId(),query); + } + } -- Gitblit v1.8.0