| | |
| | | private boolean isSingleCrnRunStatus(Long wrkSts) { |
| | | return Long.valueOf(WrkStsType.INBOUND_RUN.sts).equals(wrkSts) |
| | | || Long.valueOf(WrkStsType.OUTBOUND_RUN.sts).equals(wrkSts) |
| | | || Long.valueOf(WrkStsType.LOC_MOVE_RUN.sts).equals(wrkSts); |
| | | || Long.valueOf(WrkStsType.LOC_MOVE_RUN.sts).equals(wrkSts) |
| | | || Long.valueOf(WrkStsType.CRN_MOVE_RUN.sts).equals(wrkSts); |
| | | } |
| | | |
| | | private Long getRollbackStatus(Long wrkSts) { |
| | |
| | | } |
| | | if (Long.valueOf(WrkStsType.LOC_MOVE_RUN.sts).equals(wrkSts)) { |
| | | return WrkStsType.NEW_LOC_MOVE.sts; |
| | | } |
| | | if (Long.valueOf(WrkStsType.CRN_MOVE_RUN.sts).equals(wrkSts)) { |
| | | return WrkStsType.NEW_CRN_MOVE.sts; |
| | | } |
| | | return null; |
| | | } |
| | |
| | | if (Long.valueOf(WrkStsType.LOC_MOVE_RUN.sts).equals(wrkSts)) { |
| | | return WrkStsType.LOC_MOVE_MANUAL.sts; |
| | | } |
| | | if (Long.valueOf(WrkStsType.CRN_MOVE_RUN.sts).equals(wrkSts)) { |
| | | return WrkStsType.CRN_MOVE_MANUAL.sts; |
| | | } |
| | | return null; |
| | | } |
| | | |
| | |
| | | if (Long.valueOf(WrkStsType.LOC_MOVE_MANUAL.sts).equals(wrkSts)) { |
| | | return WrkStsType.NEW_LOC_MOVE.sts; |
| | | } |
| | | if (Long.valueOf(WrkStsType.CRN_MOVE_MANUAL.sts).equals(wrkSts)) { |
| | | return WrkStsType.NEW_CRN_MOVE.sts; |
| | | } |
| | | return null; |
| | | } |
| | | } |