| | |
| | | } |
| | | |
| | | /** |
| | | * 出库确认 - 扫托盘码 |
| | | * 出库确认 - 扫货架码 |
| | | * 1.全板 返回 101 |
| | | * 2.拣料 返回 103 |
| | | */ |
| | |
| | | 平库 库位推荐 |
| | | */ |
| | | @RequestMapping("/node/recommend/loc") |
| | | @ManagerAuth(memo = "库位推荐") |
| | | //@ManagerAuth(memo = "库位推荐") |
| | | public R recommendNodeLoc(@RequestBody HashMap<String,String> param){ |
| | | |
| | | String zpallet = param.get("zpallet"); |
| | |
| | | } |
| | | |
| | | @RequestMapping("/check/waitPakin/auth") |
| | | @ManagerAuth(memo = "查询托盘是否组托") |
| | | @ManagerAuth(memo = "查询货架是否组托") |
| | | public R waitPakins(@RequestBody String barcode){ |
| | | return R.ok().add(waitPakinService.selectList(new EntityWrapper<WaitPakin>().eq("zpallet", barcode))); |
| | | } |
| | |
| | | } |
| | | |
| | | @RequestMapping("/wrkdetl/auth") |
| | | @ManagerAuth(memo = "拣料信息") |
| | | //@ManagerAuth(memo = "拣料信息") |
| | | public R checkWrkDetl(@RequestBody String barcode){ |
| | | WrkMast wrkMast = wrkMastService.selectByBarcode(barcode); |
| | | if(Cools.isEmpty(wrkMast)){ |
| | | return R.error("该托盘没有工作档"); |
| | | return R.error("该货架没有工作档"); |
| | | } |
| | | List<WrkDetl> wrkDetls = wrkDetlService.selectByWrkNo(wrkMast.getWrkNo()); |
| | | return R.ok().add(wrkDetls); |
| | | } |
| | | |
| | | @RequestMapping("/modify/wrkdetl/auth") |
| | | @ManagerAuth(memo = "修改拣料信息") |
| | | //@ManagerAuth(memo = "修改拣料信息") |
| | | public R modifyWrkDetl(@RequestBody ModifyPakoutParam param){ |
| | | |
| | | String barcode = param.getBarcode(); |
| | |
| | | |
| | | } |
| | | |
| | | //平库上架(无组托上架) |
| | | @RequestMapping("/node/pakin/v1") |
| | | public R nodePakinNoComb(@RequestBody CombParam param){ |
| | | mobileService.nodePakinNoComb(param); |
| | | return R.ok(); |
| | | } |
| | | |
| | | private String findNodeLoc(List<LocRule> locRules){ |
| | | for (LocRule locRule : locRules) { |
| | | if (Cools.isEmpty(locRule.getOther())) { |