新金湾,新考勤bug修复
This commit is contained in:
parent
321bf741f5
commit
d55d074bfc
@ -1433,7 +1433,7 @@ status 状态码 String 1表示成功;其余表示失败
|
|||||||
PresentDayByMonthVo vo = new PresentDayByMonthVo();
|
PresentDayByMonthVo vo = new PresentDayByMonthVo();
|
||||||
String month = DateUtil.format(date, "yyyy-MM");
|
String month = DateUtil.format(date, "yyyy-MM");
|
||||||
vo.setMonth(month);
|
vo.setMonth(month);
|
||||||
vo.setAttendance(Optional.ofNullable(date2PresentMap.get(DateUtil.formatDate(date))).map(PresentDayByMonthVo::getAttendance).orElse(0));
|
vo.setAttendance(Optional.ofNullable(date2PresentMap.get(month)).map(PresentDayByMonthVo::getAttendance).orElse(0));
|
||||||
int betweenDay;
|
int betweenDay;
|
||||||
Date firstDate;
|
Date firstDate;
|
||||||
Date lastDate;
|
Date lastDate;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user