Commit 11db90fe3cd49daa3061e1787b32c086d02b798a
1 parent
fa5f9ce7
添加呼叫料盒参数注解
Showing
2 changed files
with
6 additions
and
5 deletions
jeecg-boot-master/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/wms/api/mobile/entity/CallBoxBean.java
1 | 1 | package org.jeecg.modules.wms.api.mobile.entity; |
2 | 2 | |
3 | +import io.swagger.annotations.ApiModelProperty; | |
3 | 4 | import lombok.Data; |
4 | 5 | |
5 | 6 | @Data |
6 | 7 | public class CallBoxBean { |
8 | + @ApiModelProperty(value = "托盘号", required=true) | |
7 | 9 | private String containerCode; |
10 | + @ApiModelProperty(value = "库位号", required=true) | |
8 | 11 | private String locationCode; |
12 | + @ApiModelProperty(value = "任务类型,200补充入, 400分拣出") | |
9 | 13 | private int type; |
14 | + @ApiModelProperty(value = "货主编码", required=true) | |
10 | 15 | private String companyCode; |
11 | 16 | } |
... | ... |
jeecg-boot-master/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/wms/api/mobile/service/impl/MobileService.java
... | ... | @@ -19,15 +19,11 @@ import org.springframework.transaction.annotation.Transactional; |
19 | 19 | import javax.annotation.Resource; |
20 | 20 | |
21 | 21 | /** |
22 | - * @author 游杰 | |
23 | 22 | */ |
24 | 23 | @Service |
25 | 24 | public class MobileService implements IMobileService { |
26 | 25 | |
27 | 26 | @Resource |
28 | - private IErpService erpService; | |
29 | - | |
30 | - @Resource | |
31 | 27 | private IContainerService containerService; |
32 | 28 | |
33 | 29 | @Resource |
... | ... | @@ -38,7 +34,7 @@ public class MobileService implements IMobileService { |
38 | 34 | |
39 | 35 | @Override |
40 | 36 | @Transactional(rollbackFor = Exception.class) |
41 | - public Result callBox(CallBoxBean bean, String warehouseCode) { | |
37 | + public Result<Integer> callBox(CallBoxBean bean, String warehouseCode) { | |
42 | 38 | if(StringUtils.isEmpty(bean.getContainerCode())){ |
43 | 39 | return Result.error("托盘号containerCode不能为空"); |
44 | 40 | } |
... | ... |