From e16302f9d475c7cc4dd18c5abf1a23cb5502e362 Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期三, 28 五月 2025 14:57:56 +0800
Subject: [PATCH] 密码验证加-

---
 src/main/java/com/whyc/controller/WorkflowMainController.java |   22 +++++++++++++---------
 1 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/src/main/java/com/whyc/controller/WorkflowMainController.java b/src/main/java/com/whyc/controller/WorkflowMainController.java
index 5a80aa6..94e8ad8 100644
--- a/src/main/java/com/whyc/controller/WorkflowMainController.java
+++ b/src/main/java/com/whyc/controller/WorkflowMainController.java
@@ -10,7 +10,10 @@
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
 
 import java.util.Map;
 
@@ -33,12 +36,13 @@
 
     //鏈汉鐨勫崟鎹�: 宸插鎵�,瀹℃壒涓�,宸叉挙閿�,宸查┏鍥�
     //鎺ユ敹鍒扮殑鍗曟嵁: 寰呭鏍�,(寰呮帴鍗曞鏍�?),宸插鏍�
+
     /**
      * 鏈汉鐨勫崟鎹�:
      *  宸插鎵�,瀹℃壒涓�,宸叉挙閿�,宸查┏鍥�
      * */
     @GetMapping("ownStatistics")
-    @ApiOperation(value = "鏈汉鐨勫崟鎹粺璁�")
+    @ApiOperation(value = "鏈汉鐨勫崟鎹粺璁�",notes = "status鍚箟:1-瀹℃壒涓�,2-瀹℃壒瀹屾垚涓旈�氳繃,3-瀹℃壒瀹屾垚涓旈┏鍥�")
     public Response<Map<Integer,Integer>> getOwnStatistics(int type){
         int userId = ActionUtil.getUser().getUId().intValue();
         return service.getOwnStatistics(userId,type);
@@ -49,7 +53,7 @@
      *  宸插鎵�,瀹℃壒涓�,宸叉挙閿�,宸查┏鍥�
      * */
     @GetMapping("ownListPage")
-    @ApiOperation(value = "鏈汉鐨勫崟鎹垪琛ㄥ垎椤�")
+    @ApiOperation(value = "鏈汉鐨勫崟鎹垪琛ㄥ垎椤�",notes = "status浼犲弬:0:鍏ㄩ儴,1-瀹℃壒涓�,2-瀹℃壒瀹屾垚涓旈�氳繃,3-瀹℃壒瀹屾垚涓旈┏鍥�")
     public Response<PageInfo<WorkflowMain>> ownListPage(int type,int status,int pageNum,int pageSize){
         int userId = ActionUtil.getUser().getUId().intValue();
         return service.ownListPage(userId,type,status,pageNum,pageSize);
@@ -60,7 +64,7 @@
      *  鏀剧數璁″垝涓存椂琛ㄤ腑瀛樺湪: 寰呭鏍�,寰呮帴鍗曞鏍�,宸插鏍�
      * */
     @GetMapping("receivedStatistics")
-    @ApiOperation(value = "鎺ユ敹鍒扮殑鍗曟嵁缁熻")
+    @ApiOperation(value = "鎺ユ敹鍒扮殑鍗曟嵁缁熻",notes = "status鍚箟:1-寰呮帴鍗�,6-寰呭鏍�,58-宸插鏍�")
     public Response<Map<Integer,Integer>> getReceivedStatistics(int type){
         UserInf user = ActionUtil.getUser();
         return service.getReceivedStatistics(type,user);
@@ -68,13 +72,13 @@
 
     /**
      * 鎺ユ敹鍒扮殑鍗曟嵁:
-     *  鏀剧數璁″垝涓存椂琛ㄤ腑瀛樺湪: 寰呭鏍�,寰呮帴鍗曞鏍�,宸插鏍�
-     * */
+     * 鏀剧數璁″垝涓存椂琛ㄤ腑瀛樺湪: 寰呭鏍�,寰呮帴鍗曞鏍�,宸插鏍�
+     */
     @GetMapping("receivedListPage")
-    @ApiOperation(value = "鎺ユ敹鍒扮殑鍗曟嵁鍒楄〃鍒嗛〉")
-    public Response<PageInfo<WorkflowMain>> getReceivedListPage(int type,int status,int pageNum,int pageSize){
+    @ApiOperation(value = "鎺ユ敹鍒扮殑鍗曟嵁鍒楄〃鍒嗛〉", notes = "status浼犲弬:0-鍏ㄩ儴,1-寰呮帴鍗�,6-寰呭鏍�,5|8-宸插鏍�(閫氳繃|椹冲洖)")
+    public Response<PageInfo<WorkflowMain>> getReceivedListPage(int type, int status, int pageNum, int pageSize) {
         UserInf user = ActionUtil.getUser();
-        return service.getReceivedListPage(type,status,user,pageNum,pageSize);
+        return service.getReceivedListPage(type, status, user, pageNum, pageSize);
     }
 
 }

--
Gitblit v1.9.1