|
|
@ -306,9 +306,9 @@ public class DcShiftsServiceImpl implements IDcShiftsService |
|
|
|
msg = UniversalEnum.THE_LAYOUT_INFORMATION_IS_EMPTY.getValue(); |
|
|
|
throw new ServiceException(msg); |
|
|
|
} |
|
|
|
if (scheduling.equals(UniversalEnum.DAY_SHIFT.getValue())){ |
|
|
|
if (scheduling.equals(UniversalEnum.ONE.getValue())){ |
|
|
|
dcShifts.setScheduling(UniversalEnum.ONE.getValue()); |
|
|
|
} else if (scheduling.equals(UniversalEnum.NIGHT_SHIFT.getValue())) { |
|
|
|
} else if (scheduling.equals(UniversalEnum.TWO.getValue())) { |
|
|
|
dcShifts.setScheduling(UniversalEnum.TWO.getValue()); |
|
|
|
}else { |
|
|
|
msg = UniversalEnum.THE_FORMATTING_IS_INCORRECT.getValue(); |
|
|
|