Преглед изворни кода

考勤记录重复bug修复。

zhengqiang пре 3 година
родитељ
комит
f3c3fe4b80
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      common/src/main/resources/mapper/business/WorkScheduleAttendance.xml

+ 1 - 1
common/src/main/resources/mapper/business/WorkScheduleAttendance.xml

@@ -698,7 +698,7 @@
                 count(*) as total
                 from business_work_schedule_attendance
                 where
-                attendance_date>=#{startDate}
+                attendance_date>=DATE_FORMAT(#{startDate}, '%Y-%m-%d')
                 and
                 del_flag=0
                 group by person_schedule_id,work_shift_id,classify_