| | |
| | | @RequestMapping("/pick/again/auth") |
| | | @ManagerAuth(memo = "再次拣料") |
| | | public R pickAgain(@RequestBody PickParam pickParams) { |
| | | if (pickParams == null ) { |
| | | if (pickParams == null) { |
| | | return R.error("缺少参数"); |
| | | } |
| | | agvMobileService.pickAgain(pickParams, 1l); |
| | |
| | | return R.error("缺少参数"); |
| | | } |
| | | for (AgvMobileStartParam.Pda pda : params.getPad()) { |
| | | if (pda == null || Cools.isEmpty(pda.getContainerCode())) { |
| | | return R.error("缺少容器信息"); |
| | | } |
| | | pda.setContainerType(Short.valueOf(pda.getContainerCode().substring(0, 2))); |
| | | workService.emptyPlateIn(pda.getDevNo(), pda.getContainerCode(), pda.getContainerType(), getUserId(), false); |
| | | } |
| | |
| | | |
| | | AgvLocMast agvLocMastByContainerCode = agvLocMastService.selectOne(new EntityWrapper<AgvLocMast>().eq("barcode", containerCode)); |
| | | AgvLocMast agvLocMastByLocNo = agvLocMastService.selectOne(new EntityWrapper<AgvLocMast>().eq("loc_no", locNo)); |
| | | if (agvLocMastByLocNo==null){ |
| | | if (agvLocMastByLocNo == null) { |
| | | return R.error("库位不存在"); |
| | | } |
| | | String barcode1 = agvLocMastByLocNo.getBarcode(); |