Bladeren bron

新增新版考勤导入

anderx 1 jaar geleden
bovenliggende
commit
02b6aa951b

+ 1 - 1
ruoyi-system/src/main/java/com/ruoyi/project/service/impl/ProjectStaffRecordServiceImpl.java

@@ -988,7 +988,7 @@ public class ProjectStaffRecordServiceImpl implements ProjectStaffRecordService
                     Date date = DateUtils.LocalDateToDate(e.getDate());
                     List<ProjectStaffRecord> projectStaffRecords = projectStaffRecordMapper.selectByAidAndTime(sysUser.getUserId(), dateStr, dateStr + " 23:59:59");
                     if (projectStaffRecords==null|| projectStaffRecords.isEmpty()){
-                        res.append("<br/>").append("员工[").append(userClockDataBo.getUsername()).append("]不存在。");
+                        res.append("<br/>").append("员工[").append(userClockDataBo.getUsername()).append("]日期[").append(dateStr).append("]打卡不存在。");
 //                        ProjectStaffRecord update =new ProjectStaffRecord();
 //                        update.setCheckDuration(e.getDuration().doubleValue());
 //                        update.setDuration(e.getDuration().doubleValue());