Commit c14ec28d authored by 廖旭伟's avatar 廖旭伟

考勤汇总任务bug修改

parent aaabeee3
...@@ -56,6 +56,8 @@ public class StaffCheckSummaryService implements IApplicationStartedService { ...@@ -56,6 +56,8 @@ public class StaffCheckSummaryService implements IApplicationStartedService {
Date date = DateUtil.parse(query.getCheckTimeStart(),"yyyy-MM-dd"); Date date = DateUtil.parse(query.getCheckTimeStart(),"yyyy-MM-dd");
query.setCheckTimeStart(DateUtil.beginOfMonth(date).toDateStr()); query.setCheckTimeStart(DateUtil.beginOfMonth(date).toDateStr());
query.setCheckTimeEnd(DateUtil.endOfMonth(date).toDateStr()); query.setCheckTimeEnd(DateUtil.endOfMonth(date).toDateStr());
query.setYear(DateUtil.year(date));
query.setMonth(DateUtil.month(date)+1);
} }
if(query.getCheckType() == CheckTypeEnum.考勤绩效.getValue()){ if(query.getCheckType() == CheckTypeEnum.考勤绩效.getValue()){
checkAttendRecordService.summaryCheck(query); checkAttendRecordService.summaryCheck(query);
......
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