Commit fcd72a13 authored by 姬鋆屾's avatar 姬鋆屾
parents 68f677c7 95dea988
......@@ -159,6 +159,8 @@ public class InspectSaveReq extends BaseReq {
private String windowNum;
private String workNum;
}
......@@ -51,7 +51,7 @@ public class SyncDoorsEventAfterTaskImpl implements ITaskExcuteService {
public void excuteTask(ITask task) throws AppException {
syncDoorEvents();
//calculateAttendByDay();
calculateAttendByDay();
}
private void calculateAttendByDay() {
......@@ -65,8 +65,8 @@ public class SyncDoorsEventAfterTaskImpl implements ITaskExcuteService {
// Date todayStart = DateUtil.offsetHour(new Date(), -5).toJdkDate();
// recordHikEntity.setAttendanceDateStart(DateUtils.getCurrStrDate());
recordHikEntity.setAttendanceDateStart(DateUtil.offsetHour(new Date(), -5).toString());
recordHikEntity.setAttendanceDateEnd(DateUtils.getCurrStrDate());
recordHikEntity.setAttendanceDateStart(DateUtil.today());
recordHikEntity.setAttendanceDateEnd(DateUtil.today());
try {
recordHikService.addAttendanceRecordByQuery(recordHikEntity, context);
} catch (Exception e) {
......
......@@ -45,6 +45,7 @@ public class FreedomWorkAttendance extends AttendanceWorkAbstract {
this.freeworkService = SpringUtils.getBean(AttendanceGroupFreeworkService.class);
this.attendanceClassService = SpringUtils.getBean(AttendanceClassService.class);
this.attendanceRecordService = SpringUtils.getBean(AttendanceRecordService.class);
this.specialService = SpringUtils.getBean(AttendanceGroupFreeworkSpecialService.class);
}
@Override
......
......@@ -131,7 +131,7 @@ public class CheckOtherRecordServiceImpl extends AbstractCRUDServiceImpl<CheckOt
checkDingMsg.setUserIds(personRest.getData());
checkDingMsg.setDateTime(DateUtil.formatDateTime(entity.getHappenTime() == null ? new Date() : entity.getHappenTime()));
checkDingMsg.setRuleStr(ruleStr);
checkDingMsg.setPerformTypeStr(PerformTypeEnum.评价差评绩效.getDesc());
checkDingMsg.setPerformTypeStr(PerformTypeEnum.其它绩效.getDesc());
checkDingMsg.setScore(entity.getScore().toString());
checkDingMsg.setSubAddType(entity.getSubAddType());
checkDingMsg.setPath(String.format("#/appealinfo?id=%s&&performType=%s&subAddType=%s", entity.getId(), PerformTypeEnum.其它绩效.getValue(), entity.getSubAddType()));
......
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