| | |
| | | } |
| | | |
| | | /*物料托盘绑定*/ |
| | | // @RequestMapping(value = "/mat/barcode/auth") |
| | | // @ManagerAuth |
| | | // public R addBarcodeMatnr(Mat mat) { |
| | | // if (Cools.isEmpty(mat.getUnit())){ |
| | | // return R.error(BaseRes.PARAM); |
| | | // } |
| | | // matBarcodeService.addBarcodeMatnrTwo(mat); |
| | | // return R.ok(); |
| | | // } |
| | | @RequestMapping(value = "/mat/barcode/auth") |
| | | @ManagerAuth |
| | | public R addBarcodeMatnr(Mat mat) { |
| | | if (Cools.isEmpty(mat.getUnit())){ |
| | | return R.error(BaseRes.PARAM); |
| | | } |
| | | matBarcodeService.addBarcodeMatnrTwo(mat); |
| | | return R.ok(); |
| | | } |
| | | |
| | | @RequestMapping(value = "/mat/delete/auth") |
| | | @ManagerAuth |