| | |
| | | return R.ok("组托成功"); |
| | | } |
| | | |
| | | @RequestMapping("/getMatInfoByBarcode/auth") |
| | | @ManagerAuth(memo = "根据条码获取物料信息") |
| | | public R getMatInfoByBarcode(@RequestBody CombParam combParam){ |
| | | String barcode = combParam.getBarcode(); |
| | | if(Cools.isEmpty(barcode)) { |
| | | return R.error("条码不能为空"); |
| | | } |
| | | return mobileService.getMatInfoByBarcode(barcode); |
| | | } |
| | | |
| | | @RequestMapping("/barcodeComb/auth") |
| | | // @ManagerAuth(memo = "创建组拖") |
| | | public R barcodeComb(@RequestBody BarcodeCombParam combParam){ |
| | | if(Cools.isEmpty(combParam,combParam.getBarcode(),combParam.getCombMats().get(0).getMatnr())) { |
| | | return R.error("条码和商品编码不能为空"); |
| | | } |
| | | return mobileService.barcodeComb(combParam); |
| | | } |
| | | |
| | | @RequestMapping("/pack/get/auth") |
| | | @ManagerAuth |
| | | public R packGet(@RequestParam String barcode){ |