自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-08 ade4bc8f860e3d905370db56f81723910e7f19e8
src/main/java/com/zy/asrs/controller/MatCodeController.java
@@ -157,7 +157,7 @@
            // 打印数据注入
            MatCodePrint print = new MatCodePrint();
            print.setMatNo(matCode.getMatNo());
            print.setBarcodeUrl(matCode.getBarcode());
            print.setBarcode(matCode.getBarcode());
            print.setMatName(matCode.getMatName());
            print.setStr1(matCode.getStr1());
            print.setStr2(matCode.getStr2());
@@ -166,12 +166,10 @@
        return R.ok().add(res);
    }
    // todo resource
    @RequestMapping(value = "/macCode/barcode/auth")
//    @ManagerAuth(memo = "物料编码条形码获取")
    public R matCodeBarcode(@RequestParam String param, HttpServletResponse response) throws IOException {
        if (Cools.isEmpty(param)){
            System.out.println(1);
            return R.parse(BaseRes.EMPTY);
        }
        BufferedImage img = BarcodeUtils.encode(param);