|
|
@ -205,9 +205,10 @@ public class ClockinLogController extends JeecgController<ClockinLog, IClockinLo |
|
|
|
|
|
|
|
|
|
|
|
// int day = Integer.parseInt(DateUtils2.getNowMonthMaxDay()); |
|
|
|
String nowYearMonth = clockStartTimes[0]; |
|
|
|
if(StringUtils.isBlank(clockStartTimes[0])){ |
|
|
|
nowYearMonth = DateUtils2.getNowYearMonth(); |
|
|
|
String nowYearMonth = DateUtils2.getNowYearMonth(); |
|
|
|
|
|
|
|
if(clockStartTimes!=null && clockStartTimes.length!=0 && StringUtils.isNotBlank(clockStartTimes[0])){ |
|
|
|
nowYearMonth = clockStartTimes[0]; |
|
|
|
} |
|
|
|
YearMonth yearMonth = YearMonth.parse(nowYearMonth); |
|
|
|
int day = yearMonth.lengthOfMonth(); |
|
|
|