Commit 029d6919 authored by cq990612's avatar cq990612

优化代码结构

parent c0e3cb96
......@@ -196,8 +196,6 @@ public class WorkCollectServiceImpl implements WorkCollectService {
*/
private List<Date> getNotCompletedByMonth(WorkUser user,Date month) {
boolean flag = DateUtil.isYearAndMonthEqual(month, new Date());
System.out.println("month" + DateUtils.dateToShortString(month));
System.out.println("flag = " + flag);
List<Date> workDays = statisticsService.currentMonthWorkDays(month, flag);
Date createDate = DateUtils.bigDateToShortDate(user.getCreateTime());
workDays.removeIf(workDay -> workDay.compareTo(createDate) < 0);
......
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