自动化立体仓库 - WMS系统
#
zjj
2024-08-31 c31bf5a8902485b750b5814a0d1c54ecc65d2c96
src/main/java/com/zy/asrs/controller/NodeController.java
@@ -151,10 +151,10 @@
    @RequestMapping(value = "/node/update/auth")
    @ManagerAuth
    public R update(Node node){
        Node node1 = nodeService.selectByUuid(node.getName());
        if (!Cools.isEmpty(node1)) {
            throw new CoolException("该编号/名称已存在");
        }
//        Node node1 = nodeService.selectByUuid(node.getName());
//        if (!Cools.isEmpty(node1)) {
//            throw new CoolException("该编号/名称已存在");
//        }
        if (Cools.isEmpty(node) || null==node.getId()){
            return R.error();
        }
@@ -385,7 +385,7 @@
                        }
                    }else {
                        locNo = param.getName()+"-" +String.format("%02d", r) + String.format("%02d", b) + String.format("%02d", l);
                        locNo = param.getName()+String.format("%02d", r) + String.format("%02d", b) + String.format("%02d", l);
                    }
                    //客户要求格式位A-01-01-01