From 59abe1ed199157edb3686e5723ca01263fcc8838 Mon Sep 17 00:00:00 2001 From: wangsixiang <2970484253@qq.com> Date: Mon, 1 Jul 2024 17:31:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=80=BC=E7=8F=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/zc/business/service/impl/DcShiftsServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcShiftsServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcShiftsServiceImpl.java index 06626a62..d75c4d1c 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcShiftsServiceImpl.java +++ b/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(); 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();