| | |
| | | //起始层 |
| | | Integer currentLev = rowLastno.getCurrentRow(); |
| | | if (times > 0 && startLev == currentLev) { |
| | | if (locTypeDto.getLocType1() == 1) { |
| | | locTypeDto.setLocType1((short) 2); |
| | | return getShuttleLocNo(staDescId, sourceStaNo, matNos, locTypeDto, startLev, 0); |
| | | } else if (locTypeDto.getLocType1() == 2) { |
| | | locTypeDto.setLocType1((short) 3); |
| | | return getShuttleLocNo(staDescId, sourceStaNo, matNos, locTypeDto, startLev, 0); |
| | | } |
| | | throw new CoolException("未找到可用库位"); |
| | | } |
| | | rowLastno.setCurrentRow(currentLev >= rowLastno.geteRow() ? rowLastno.getsRow() : currentLev + 1);//更新楼层 |