自动化立体仓库 - WMS系统
#1
dubin
2025-11-12 9bc4c5f02cc53961725af9683b75899ac22a6720
src/main/java/com/zy/common/service/CommonService.java
@@ -383,11 +383,12 @@
    public StartupDto getLocNoToOne(Integer whsType, Integer staDescId, Integer sourceStaNo, String matnr, String batch, String grade, Integer moveCrnNo, LocTypeDto locTypeDto, int times) {
        //目标库位
        LocMast locMast = null;
            //1号巷道 3种托盘类型
        if (locTypeDto.getLocType2()==4||locTypeDto.getLocType2()==5||locTypeDto.getLocType2()==6){
            locMast=locMastService.queryLocToOne(locTypeDto.getLocType2());
        if (locTypeDto.getLocType2()==5||locTypeDto.getLocType2()==6){
            //1号巷道 3种货物类型
            locMast=locMastService.queryLocToOne(locTypeDto.getLocType1());
        }else if (locTypeDto.getLocType2()==7||locTypeDto.getLocType2()==8){
            //2号巷道 2种类型托盘
            //2号巷道 2种货物类型
            locMast=locMastService.queryLocToTwo(locTypeDto.getLocType2());
        }else {
            throw new CoolException("不存在该库位类型:"+locTypeDto.getLocType2());