From 3c144d00e566f16485ad2c53abb250deb7964456 Mon Sep 17 00:00:00 2001 From: dy <2389062315@qq.com> Date: Fri, 22 Aug 2025 14:48:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E4=B8=8D=E4=BC=A0=E9=9B=86?= =?UTF-8?q?=E5=90=88=E6=97=B6=E7=8A=B6=E6=80=81=E6=94=B9=E4=B8=8D=E4=BA=86?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/attendanceImpl/AttendanceGroupServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ruoyi-modules/Property/src/main/java/org/dromara/property/service/impl/attendanceImpl/AttendanceGroupServiceImpl.java b/ruoyi-modules/Property/src/main/java/org/dromara/property/service/impl/attendanceImpl/AttendanceGroupServiceImpl.java index 9daa09fc..4c7a72e7 100644 --- a/ruoyi-modules/Property/src/main/java/org/dromara/property/service/impl/attendanceImpl/AttendanceGroupServiceImpl.java +++ b/ruoyi-modules/Property/src/main/java/org/dromara/property/service/impl/attendanceImpl/AttendanceGroupServiceImpl.java @@ -264,6 +264,9 @@ public class AttendanceGroupServiceImpl implements IAttendanceGroupService { //1.固定班制 //取出考勤组id Long groupId = update.getId(); + if(bo.getWeekSetList() == null || bo.getWeekSetList().isEmpty()){ + return baseMapper.updateById(update) > 0; + } bo.getWeekSetList().forEach( weekSet -> { //1.固定班制,修改考勤周期表中的数据