自动化立体仓库 - WMS系统
pjb
昨天 2ded9514aa9a93ee440af0b1437d788fb052028b
src/main/java/com/zy/asrs/controller/MobileController.java
@@ -219,6 +219,25 @@
        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){