|
@@ -0,0 +1,82 @@
|
|
|
|
|
+package com.dk.bpm.controller;
|
|
|
|
|
+
|
|
|
|
|
+import com.dk.bpm.service.WaitingForApprovalService;
|
|
|
|
|
+import com.dk.common.response.ResponseResultVO;
|
|
|
|
|
+import io.swagger.annotations.Api;
|
|
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
+
|
|
|
|
|
+import java.util.List;
|
|
|
|
|
+import java.util.Map;
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * @desc : 待审中心模块
|
|
|
|
|
+ * @author : 周兴
|
|
|
|
|
+ * @date : 2023/9/15 11:29
|
|
|
|
|
+ */
|
|
|
|
|
+@Api(tags = "待审中心")
|
|
|
|
|
+@RestController
|
|
|
|
|
+@RequestMapping("/bpm/waiting_for_approval")
|
|
|
|
|
+public class WaitingForApprovalController {
|
|
|
|
|
+
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private WaitingForApprovalService waitingForApprovalService;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @desc : 查询待审审批列表
|
|
|
|
|
+ * @author : 周兴
|
|
|
|
|
+ * @date : 2023/9/15 11:30
|
|
|
|
|
+ */
|
|
|
|
|
+ @ApiOperation(value = "查询待审审批列表", notes = "查询待审审批列表")
|
|
|
|
|
+ @PostMapping("list")
|
|
|
|
|
+ ResponseResultVO<Object> list(@RequestBody Map<String,Object> param){
|
|
|
|
|
+ return waitingForApprovalService.list(param);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @desc : 查询待审审批明细列表
|
|
|
|
|
+ * @author : 周兴
|
|
|
|
|
+ * @date : 2023/9/15 11:30
|
|
|
|
|
+ */
|
|
|
|
|
+ @ApiOperation(value = "查询待审审批明细列表", notes = "查询待审审批明细列表")
|
|
|
|
|
+ @PostMapping("list_detail")
|
|
|
|
|
+ ResponseResultVO<Object> listDetail(@RequestBody Map<String,Object> param){
|
|
|
|
|
+ return waitingForApprovalService.listDetail(param);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @desc : 查询审批进度
|
|
|
|
|
+ * @author : 周兴
|
|
|
|
|
+ * @date : 2023/9/15 11:30
|
|
|
|
|
+ */
|
|
|
|
|
+ @ApiOperation(value = "查询审批进度", notes = "查询审批进度")
|
|
|
|
|
+ @PostMapping("list_process/{id}")
|
|
|
|
|
+ ResponseResultVO<Object> listProcess(@PathVariable Integer id){
|
|
|
|
|
+ return waitingForApprovalService.listProcess(id);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @desc : 查询已审
|
|
|
|
|
+ * @author : 周兴
|
|
|
|
|
+ * @date : 2023/9/15 11:30
|
|
|
|
|
+ */
|
|
|
|
|
+ @ApiOperation(value = "查询已审", notes = "查询已审")
|
|
|
|
|
+ @PostMapping("list_approvaled")
|
|
|
|
|
+ ResponseResultVO<Object> listApprovaled(@RequestBody Map<String,Object> param){
|
|
|
|
|
+ return waitingForApprovalService.listApprovaled(param);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @desc : 查询已审条数
|
|
|
|
|
+ * @author : 周兴
|
|
|
|
|
+ * @date : 2023/9/15 11:30
|
|
|
|
|
+ */
|
|
|
|
|
+ @ApiOperation(value = "查询已审条数", notes = "查询已审条数")
|
|
|
|
|
+ @PostMapping("list_count")
|
|
|
|
|
+ ResponseResultVO<Object> listCount(@RequestBody Map<String,Object> param){
|
|
|
|
|
+ return waitingForApprovalService.listCount(param);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+}
|