From ef73a35d0eecb7673a3129c117684300e8ee9e12 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 29 四月 2021 19:35:39 +0800
Subject: [PATCH] 优化代码
---
java110-interface/src/main/java/com/java110/intf/common/IAllocationStorehouseUserInnerServiceSMO.java | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/java110-interface/src/main/java/com/java110/intf/common/IAllocationStorehouseUserInnerServiceSMO.java b/java110-interface/src/main/java/com/java110/intf/common/IAllocationStorehouseUserInnerServiceSMO.java
index 47ebf4c..91f0b1f 100644
--- a/java110-interface/src/main/java/com/java110/intf/common/IAllocationStorehouseUserInnerServiceSMO.java
+++ b/java110-interface/src/main/java/com/java110/intf/common/IAllocationStorehouseUserInnerServiceSMO.java
@@ -2,6 +2,7 @@
import com.java110.config.feign.FeignConfiguration;
import com.java110.dto.allocationStorehouse.AllocationStorehouseDto;
+import com.java110.dto.allocationStorehouseApply.AllocationStorehouseApplyDto;
import com.java110.entity.audit.AuditUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
@@ -21,7 +22,7 @@
* @return CommunityDto 瀵硅薄鏁版嵁
*/
@RequestMapping(value = "/startProcess", method = RequestMethod.POST)
- public AllocationStorehouseDto startProcess(@RequestBody AllocationStorehouseDto allocationStorehouseDto);
+ public AllocationStorehouseApplyDto startProcess(@RequestBody AllocationStorehouseApplyDto allocationStorehouseDto);
/**
@@ -39,7 +40,7 @@
* @param user 鐢ㄦ埛淇℃伅
*/
@RequestMapping(value = "/getUserTasks", method = RequestMethod.POST)
- public List<AllocationStorehouseDto> getUserTasks(@RequestBody AuditUser user);
+ public List<AllocationStorehouseApplyDto> getUserTasks(@RequestBody AuditUser user);
/**
* 鍚屾剰
@@ -48,7 +49,7 @@
* @return
*/
@RequestMapping(value = "/agreeCompleteTask", method = RequestMethod.POST)
- public boolean agreeCompleteTask(@RequestBody AllocationStorehouseDto allocationStorehouseDto);
+ public boolean agreeCompleteTask(@RequestBody AllocationStorehouseApplyDto allocationStorehouseDto);
/**
@@ -58,7 +59,7 @@
* @return
*/
@RequestMapping(value = "/refuteCompleteTask", method = RequestMethod.POST)
- public boolean refuteCompleteTask(@RequestBody AllocationStorehouseDto allocationStorehouseDto);
+ public boolean refuteCompleteTask(@RequestBody AllocationStorehouseApplyDto allocationStorehouseDto);
/**
* 瀹屾垚浠诲姟
@@ -66,7 +67,7 @@
* @param
*/
@RequestMapping(value = "/complete", method = RequestMethod.GET)
- public boolean complete(@RequestBody AllocationStorehouseDto allocationStorehouseDto);
+ public boolean complete(@RequestBody AllocationStorehouseApplyDto allocationStorehouseDto);
/**
* 鏌ヨ鐢ㄦ埛浠诲姟鏁�
@@ -83,7 +84,7 @@
* @param user 鐢ㄦ埛淇℃伅
*/
@RequestMapping(value = "/getUserHistoryTasks", method = RequestMethod.POST)
- public List<AllocationStorehouseDto> getUserHistoryTasks(@RequestBody AuditUser user);
+ public List<AllocationStorehouseApplyDto> getUserHistoryTasks(@RequestBody AuditUser user);
/**
* 澶勭悊浠诲姟
@@ -91,7 +92,7 @@
* @return true 涓烘祦绋嬬粨鏉� false 涓烘祦绋嬫病鏈夌粨鏉�
*/
@RequestMapping(value = "/completeTask", method = RequestMethod.POST)
- public boolean completeTask(@RequestBody AllocationStorehouseDto allocationStorehouseDto);
+ public boolean completeTask(@RequestBody AllocationStorehouseApplyDto allocationStorehouseDto);
}
--
Gitblit v1.8.0