Commit 4a4313df authored by shiyu's avatar shiyu

查询签到信息3

parent 66b89368
...@@ -230,11 +230,11 @@ public class UserSigninServiceImpl implements UserSigninService { ...@@ -230,11 +230,11 @@ public class UserSigninServiceImpl implements UserSigninService {
LocalDate localDate = LocalDate.of(year, month, 1); LocalDate localDate = LocalDate.of(year, month, 1);
// 获取上个月的月份 // 获取上个月的月份
resultMap.put("lastMonth", localDate.minusMonths(1).getMonthValue()); resultMap.put("lastMonth", today.minusMonths(1).getMonthValue());
resultMap.put("lastYear", localDate.minusMonths(1).getYear()); resultMap.put("lastYear", today.minusMonths(1).getYear());
resultMap.put("nextMonth", localDate.plusMonths(1).getMonthValue()); resultMap.put("nextMonth", today.plusMonths(1).getMonthValue());
resultMap.put("nextYear", localDate.plusMonths(1).getYear()); resultMap.put("nextYear", today.plusMonths(1).getYear());
//每个月一号是周几 //每个月一号是周几
resultMap.put("firstDayOfWeek", DateTimeUtil.getFirstDayOfMonth(year, month)); resultMap.put("firstDayOfWeek", DateTimeUtil.getFirstDayOfMonth(year, month));
......
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