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

考勤绩效核查记录时间查询条件改为异常时间

parent 322521c9
...@@ -94,7 +94,7 @@ public class CheckAttendRecordController extends BaseCRUDJsonBodyMappingControll ...@@ -94,7 +94,7 @@ public class CheckAttendRecordController extends BaseCRUDJsonBodyMappingControll
if(!ObjectUtils.isEmpty(query.getErrorTimeStart())){ if(!ObjectUtils.isEmpty(query.getErrorTimeStart())){
LocalDateTime currentDate = LocalDateTime.now(); LocalDateTime currentDate = LocalDateTime.now();
LocalDateTime firstDayOfMonth = currentDate.withDayOfMonth(1); LocalDateTime firstDayOfMonth = currentDate.withDayOfMonth(1);
query.setErrorTimeStart(DateUtil.formatLocalDateTime(firstDayOfMonth)); query.setErrorTimeStart(DateUtil.format(firstDayOfMonth,"yyyy-MM-dd"));
//query.setErrorTimeEnd(DateUtil.formatDate(query.getCreateTime())); //query.setErrorTimeEnd(DateUtil.formatDate(query.getCreateTime()));
} }
super.doListBefore(query, model, context); super.doListBefore(query, model, context);
......
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