Browse Source

值班

develop
wangsixiang 5 months ago
parent
commit
59abe1ed19
  1. 4
      zc-business/src/main/java/com/zc/business/service/impl/DcShiftsServiceImpl.java

4
zc-business/src/main/java/com/zc/business/service/impl/DcShiftsServiceImpl.java

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

Loading…
Cancel
Save