| | |
| | | throw new CoolException("数据异常,请联系管理员"); |
| | | } |
| | | // ===============>>>> 开始执行 |
| | | curRow = rowLastno.getCurrentRow(); |
| | | if (sourceStaNo == 118 || sourceStaNo == 122){ |
| | | curRow = rowLastno.getCurrentRow1(); |
| | | } else if (sourceStaNo == 120 || sourceStaNo == 121 || sourceStaNo == 123 || sourceStaNo == 171){ |
| | | curRow = rowLastno.getCurrentRow2(); |
| | | } else { |
| | | curRow = rowLastno.getCurrentRow(); |
| | | } |
| | | |
| | | if (!Cools.isEmpty(moveCrnNo) && moveCrnNo!=0){ |
| | | crnNumber = moveCrnNo; |
| | |
| | | |
| | | // 更新库位排号 |
| | | if (Utils.BooleanWhsTypeSta(whsType, staDescId) && Cools.isEmpty(locMast)) { |
| | | rowLastno.setCurrentRow(curRow); |
| | | if (sourceStaNo == 118 || sourceStaNo == 122){ |
| | | rowLastno.setCurrentRow1(curRow); |
| | | } else if (sourceStaNo == 120 || sourceStaNo == 121 || sourceStaNo == 123 || sourceStaNo == 171){ |
| | | rowLastno.setCurrentRow2(curRow); |
| | | } else { |
| | | rowLastno.setCurrentRow(curRow); |
| | | } |
| | | rowLastnoService.updateById(rowLastno); |
| | | } |
| | | |
| | |
| | | throw new CoolException("数据异常,请联系管理员"); |
| | | } |
| | | // ===============>>>> 开始执行 |
| | | curRow = rowLastno.getCurrentRow(); |
| | | if (sourceStaNo == 118 || sourceStaNo == 122){ |
| | | curRow = rowLastno.getCurrentRow1(); |
| | | } else if (sourceStaNo == 120 || sourceStaNo == 121 || sourceStaNo == 123 || sourceStaNo == 171){ |
| | | curRow = rowLastno.getCurrentRow2(); |
| | | } else { |
| | | curRow = rowLastno.getCurrentRow(); |
| | | } |
| | | |
| | | if (!Cools.isEmpty(moveCrnNo) && moveCrnNo!=0){ |
| | | crnNumber = moveCrnNo; |
| | |
| | | |
| | | // 更新库位排号 |
| | | if (Utils.BooleanWhsTypeSta(whsType, staDescId) && Cools.isEmpty(locMast)) { |
| | | rowLastno.setCurrentRow(curRow); |
| | | if (sourceStaNo == 118 || sourceStaNo == 122){ |
| | | rowLastno.setCurrentRow1(curRow); |
| | | } else if (sourceStaNo == 120 || sourceStaNo == 121 || sourceStaNo == 123 || sourceStaNo == 171){ |
| | | rowLastno.setCurrentRow2(curRow); |
| | | } else { |
| | | rowLastno.setCurrentRow(curRow); |
| | | } |
| | | rowLastnoService.updateById(rowLastno); |
| | | } |
| | | |