| | |
| | | import com.zy.asrs.common.domain.param.PickConfirmParam; |
| | | import com.zy.asrs.common.domain.param.PickMatParam; |
| | | import com.zy.asrs.common.openapi.entity.param.CombParam; |
| | | import com.zy.asrs.common.openapi.entity.param.WarehouseOutMergeBoardManyParam; |
| | | import com.zy.asrs.common.openapi.entity.param.WarehouseOutPickMergeParam; |
| | | import com.zy.asrs.common.sys.service.StaDescService; |
| | | import com.zy.asrs.common.web.BaseController; |
| | | import com.zy.asrs.common.wms.entity.*; |
| | |
| | | @ManagerAuth |
| | | public R WarehouseOutV1(@RequestBody CombParam combParam){ |
| | | return mobileService.WarehouseOutV1(combParam,getHostId()); |
| | | } |
| | | |
| | | @RequestMapping("/pda/WarehouseOutPickMerge/v1") |
| | | @ManagerAuth |
| | | public R WarehouseOutPickMergeV1(@RequestBody WarehouseOutPickMergeParam param){ |
| | | return mobileService.WarehouseOutPickMergeV1(param, getHostId()); |
| | | } |
| | | |
| | | @RequestMapping("/pda/WarehouseOutMergeBoardMany/v1") |
| | | @ManagerAuth |
| | | public R WarehouseOutMergeBoardManyV1(@RequestBody WarehouseOutMergeBoardManyParam param){ |
| | | return mobileService.WarehouseOutMergeBoardMany(param, getHostId()); |
| | | } |
| | | |
| | | @RequestMapping("/menu/pda/auth") |
| | |
| | | return R.ok().add(wrkMastArrayList); |
| | | } |
| | | |
| | | @RequestMapping("/barcode/list/pick") |
| | | @ManagerAuth(memo = "拣料入库途中并板") |
| | | @Transactional |
| | | public R orderOutListOrderPick(@RequestBody String barcode) { |
| | | ArrayList<WrkMast> wrkMastArrayList = new ArrayList<>(); |
| | | if (Cools.isEmpty(barcode) || barcode.isEmpty()){ |
| | | List<WrkMast> wrkMasts = wrkMastService.list(new LambdaQueryWrapper<WrkMast>() |
| | | .eq(WrkMast::getHostId, getHostId()) |
| | | .eq(WrkMast::getWrkSts, 199L) |
| | | .eq(WrkMast::getIoType, 103)); |
| | | wrkMastArrayList.addAll(wrkMasts); |
| | | } else { |
| | | List<WrkMast> wrkMasts = wrkMastService.list(new LambdaQueryWrapper<WrkMast>() |
| | | .like(WrkMast::getBarcode, barcode) |
| | | .eq(WrkMast::getHostId, getHostId()) |
| | | .eq(WrkMast::getWrkSts, 199L) |
| | | .eq(WrkMast::getIoType, 103) |
| | | ); |
| | | wrkMastArrayList.addAll(wrkMasts); |
| | | } |
| | | |
| | | return R.ok().add(wrkMastArrayList); |
| | | } |
| | | |
| | | } |