自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-10-24 04bd02d1acaa4715fc7d9b3d31d7769c04b3a31f
src/main/java/com/zy/asrs/service/impl/WrkMastServiceImpl.java
@@ -54,7 +54,7 @@
                    for (String outerLoc : groupOuterLoc) {
                        WrkMast wrkMast = this.baseMapper.selectByLocNoOfPakin(outerLoc);
                        if (wrkMast != null) {
                            defaultIoPri = defaultIoPri == null ? wrkMast.getIoPri() + 2 : defaultIoPri + 2;
                            defaultIoPri = defaultIoPri == null ? wrkMast.getIoPri() - 2 : defaultIoPri - 2;
                        }
                    }
                }
@@ -63,7 +63,7 @@
                    for (String insideLoc : groupInsideLoc) {
                        WrkMast wrkMast = this.baseMapper.selectByLocNoOfPakin(insideLoc);
                        if (wrkMast != null) {
                            defaultIoPri = defaultIoPri == null ? wrkMast.getIoPri() - 2 : defaultIoPri - 2;
                            defaultIoPri = defaultIoPri == null ? wrkMast.getIoPri() + 2 : defaultIoPri + 2;
                        }
                    }
                }
@@ -101,4 +101,14 @@
                .last(" and (wrk_sts in (1,2) or (wrk_sts=3 and wrk_no in (select wrk_no from asr_bas_devp)))"));
    }
    @Override
    public Boolean setSteEmpty(Integer wrkNo) {
        return this.baseMapper.setSteEmpty(wrkNo) > 0;
    }
    @Override
    public WrkMast selectOfPick(Integer wrkNo, Integer ioType) {
        return this.baseMapper.selectOfPick(wrkNo, ioType);
    }
}