瀏覽代碼

考勤记录重复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_