Commit 69ba9ebd authored by 赵啸非's avatar 赵啸非

添加假日数据

parent b213bbcc
......@@ -98,7 +98,12 @@ public class CalculateDayAttendTaskImpl implements ITaskExcuteService {
recordHikEntity.setEventSource("当日未有记录虚增考勤记录!");
recordHikEntity.setCreateTime(new Date());
recordHikEntity.setCreateUserId(1L);
recordHikService.save(recordHikEntity);
try {
recordHikService.getDao().insert(recordHikEntity);
} catch (Exception e) {
log.error(e.getMessage());
}
} else {
log.error("未找到当前员工,staffId:{}", staffId);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment