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