소스 검색

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