| | |
| | | query.setDeptIds(deptIds); |
| | | } |
| | | } |
| | | String[] dateList = query.getDate().split(","); |
| | | String[] dateList = query.getDate().split("-"); |
| | | String month = dateList[1]; |
| | | int monthValue = Integer.parseInt(month); |
| | | int year = LocalDateTime.now().getYear(); |
| | | int year = Integer.parseInt(dateList[0]); |
| | | LocalDateTime firstDay = LocalDateTime.of(year, monthValue, 1, 0, 0, 0); |
| | | LocalDateTime lastDay = LocalDateTime.of(year, monthValue, |
| | | YearMonth.of(year, monthValue).lengthOfMonth(), 23, 59, 59); |
| | |
| | | query.setDeptIds(deptIds); |
| | | } |
| | | } |
| | | String[] dateList = query.getDate().split(","); |
| | | String[] dateList = query.getDate().split("-"); |
| | | String month = dateList[1]; |
| | | int monthValue = Integer.parseInt(month); |
| | | int year = LocalDateTime.now().getYear(); |
| | | int year = Integer.parseInt(dateList[0]); |
| | | LocalDateTime firstDay = LocalDateTime.of(year, monthValue, 1, 0, 0, 0); |
| | | LocalDateTime lastDay = LocalDateTime.of(year, monthValue, |
| | | YearMonth.of(year, monthValue).lengthOfMonth(), 23, 59, 59); |
| | |
| | | res.setPageList(pageList); |
| | | return R.ok(res); |
| | | } |
| | | |
| | | |
| | | } |
| | | |