Commit 3be8ad23 authored by 赵啸非's avatar 赵啸非

添加用户钉钉主动拉取请假记录

parent 9584b506
...@@ -102,7 +102,7 @@ public class AttendanceLeaveRecordController extends BaseCRUDJsonBodyMappingCont ...@@ -102,7 +102,7 @@ public class AttendanceLeaveRecordController extends BaseCRUDJsonBodyMappingCont
if (ObjectUtils.isEmpty(query.getEndTimeEnd())) { if (ObjectUtils.isEmpty(query.getEndTimeEnd())) {
query.setEndTimeStart(DateUtil.today()); query.setEndTimeStart(DateUtil.today());
} }
long between = DateUtil.between(DateUtil.parseDate(query.getStartTimeStart()), DateUtil.parseDate(query.getStartTimeEnd()), DateUnit.DAY, true); long between = DateUtil.between(DateUtil.parseDate(query.getStartTimeStart()), DateUtil.parseDate(query.getEndTimeEnd()), DateUnit.DAY, true);
if (between > 120) throw new AppException("时间范围不能超过120天"); if (between > 120) throw new AppException("时间范围不能超过120天");
Context context = this.getContext(); Context context = this.getContext();
Thread thread = new Thread(new Runnable() { Thread thread = new Thread(new Runnable() {
......
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