Browse Source

教师考勤查询

dzx 1 month ago
parent
commit
72334597b1

+ 1 - 0
src/main/java/com/xjrsoft/module/attendance/service/impl/AttendanceStatisticsServiceImpl.java

@@ -87,6 +87,7 @@ public class AttendanceStatisticsServiceImpl extends MPJBaseServiceImpl<Attendan
     public Boolean add(AddAttendanceStatisticsDto dto) {
         AttendanceStatistics attendanceStatistics = BeanUtil.toBean(dto, AttendanceStatistics.class);
         attendanceStatistics.setCreateDate(new Date());
+        attendanceStatistics.setStatus(0);
         statisticsMapper.insert(attendanceStatistics);
         CompletableFuture.runAsync(() -> {
             refreshRecord(attendanceStatistics.getId());