Browse Source

Merge branch 'dev' of https://git.yingcaibx.com/tl/api into dev

brealinxx 5 months ago
parent
commit
314f17ce13

+ 1 - 1
src/main/java/com/xjrsoft/module/attendance/controller/TeacherStatisticsController.java

@@ -196,7 +196,7 @@ public class TeacherStatisticsController {
                                     .eq("DATE_FORMAT(record_time, '%Y-%m-%d')", endTime.toLocalDate())
                                     .eq(CarMessageApply::getUserId, record.getUserId())
                                     .ge(dto.getTimePeriod() == 2 && amEndTime != null, CarOutInRecord::getRecordTime, amEndTime)
-                                    .eq(CarOutInRecord::getReleaseResult, 1)
+                                    .eq(CarOutInRecord::getStatus, 0)
                                     .orderByAsc(CarOutInRecord::getRecordTime)
                     );
                     if(!list.isEmpty()){