| | |
| | | WrkMast wrkMast = wrkMastService.selectOne(new EntityWrapper<WrkMast>() |
| | | .eq("barcode", combParam.getBarcode()) |
| | | .eq("io_type", 104) |
| | | .eq("wrk_sts", 14)); |
| | | .in("wrk_sts", 14,105)); |
| | | if (Cools.isEmpty(wrkMast)) { |
| | | mobileService.comb(combParam, getUserId()); |
| | | return R.ok("组托成功"); |
| | |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | @RequestMapping("/pingKu/Shelves/auth") |
| | | @ManagerAuth(memo = "平库上架") |
| | | public R pingKuShelves(@RequestBody CombParam combParam){ |
| | | if (Cools.isEmpty(combParam.getLocno(), combParam.getCombMats())) { |
| | | throw new CoolException(BaseRes.PARAM); |
| | | } |
| | | mobileService.pingKuShelves(combParam, getUserId()); |
| | | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @RequestMapping("/pingKu/unShelves/auth") |
| | | @ManagerAuth(memo = "平库下架") |
| | | public R pingKuUnShelves(@RequestBody CombParam combParam){ |
| | | if (Cools.isEmpty(combParam.getLocno(), combParam.getCombMats())) { |
| | | throw new CoolException(BaseRes.PARAM); |
| | | } |
| | | mobileService.pingKuUnShelves(combParam, getUserId()); |
| | | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @RequestMapping("/pack/get/auth") |
| | |
| | | |
| | | @GetMapping("/checkOut/submit/auth") |
| | | @ManagerAuth(memo = "盘点上传") |
| | | public R CheckOutsubmitERP(@RequestParam String orderId){ |
| | | |
| | | public R CheckOutUploadERP(@RequestParam String orderId){ |
| | | mobileService.inventoryUpload(orderId); |
| | | return R.ok("盘点成功"); |
| | | } |
| | | |