Commit 0837c57c2ca48e5a340d2930829e65ce03519122
1 parent
d6e197b5
收货组盘成功,返回信息封装组盘头数据
Showing
1 changed file
with
2 additions
and
2 deletions
jeecg-boot-master/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/wms/receipt/receiving/service/impl/ReceiveServiceImpl.java
@@ -65,7 +65,7 @@ public class ReceiveServiceImpl extends ServiceImpl<ReceiveMapper, Receive> imp | @@ -65,7 +65,7 @@ public class ReceiveServiceImpl extends ServiceImpl<ReceiveMapper, Receive> imp | ||
65 | */ | 65 | */ |
66 | @Override | 66 | @Override |
67 | @Transactional(rollbackFor = ServiceException.class) | 67 | @Transactional(rollbackFor = ServiceException.class) |
68 | - public Result receiving(List<Receive> receiveList, String warehouseCode) { | 68 | + public Result<ReceiptContainerHeader> receiving(List<Receive> receiveList, String warehouseCode) { |
69 | boolean result = false; | 69 | boolean result = false; |
70 | if(receiveList == null || receiveList.size() == 0) { | 70 | if(receiveList == null || receiveList.size() == 0) { |
71 | return Result.error("收货信息为空"); | 71 | return Result.error("收货信息为空"); |
@@ -210,6 +210,6 @@ public class ReceiveServiceImpl extends ServiceImpl<ReceiveMapper, Receive> imp | @@ -210,6 +210,6 @@ public class ReceiveServiceImpl extends ServiceImpl<ReceiveMapper, Receive> imp | ||
210 | } | 210 | } |
211 | } | 211 | } |
212 | 212 | ||
213 | - return Result.OK("收货成功"); | 213 | + return Result.OK("收货成功", receiptContainerHeader); |
214 | } | 214 | } |
215 | } | 215 | } |