自动化立体仓库 - WMS系统
zhangc
2025-02-15 58b8ab921ba5b855807872c849705d3f176dffb5
src/main/java/com/zy/asrs/controller/LocRuleController.java
@@ -106,7 +106,7 @@
   @ManagerAuth
    public R update(LocRule locRule){
        if (Cools.isEmpty(locRule) || null==locRule.getId()){
            return R.error();
            return R.error("参数缺失");
        }
        if ((locRule.getRowEnd() < locRule.getRowBeg()) || locRule.getRowBeg() <= 0 || locRule.getRowEnd() <= 0) {
            return R.error("排区间错误");
@@ -121,7 +121,7 @@
        locRule.setUpdateTime(new Date());
        locRuleService.updateById(locRule);
        Integer locType2 = 1;//单品区域
        if (locRule.getMixed() == 0) {
        if (Cools.isEmpty(locRule.getMixed()) || locRule.getMixed() == 0) {
            locRuleService.updateKeepGoByMatnr(locRule.getMatnr(), locRule.getKeepGo());
        }else {//混载
            locRuleService.updateKeepGoByMixed(locRule.getKeepGo());