调整
This commit is contained in:
parent
72dd584da9
commit
8107848b23
@ -1105,8 +1105,8 @@ status 状态码 String 1表示成功;其余表示失败
|
|||||||
ArrayList<NumberTimeTableVo> rtList = new ArrayList<>();
|
ArrayList<NumberTimeTableVo> rtList = new ArrayList<>();
|
||||||
int month = DateUtil.month(new Date());
|
int month = DateUtil.month(new Date());
|
||||||
Set<String> inSet = new HashSet<>();
|
Set<String> inSet = new HashSet<>();
|
||||||
for (int i = month - 1; i >= 0; i--) {
|
for (int i = month; i >= 0; i--) {
|
||||||
String format = DateUtil.format(DateUtil.offsetMonth(new Date(), i), "yyyy-MM");
|
String format = DateUtil.format(DateUtil.offsetMonth(new Date(), -i), "yyyy-MM");
|
||||||
List<WorkerAttendance> workerAttendances = timeDateListMap.get(format);
|
List<WorkerAttendance> workerAttendances = timeDateListMap.get(format);
|
||||||
NumberTimeTableVo vo = new NumberTimeTableVo();
|
NumberTimeTableVo vo = new NumberTimeTableVo();
|
||||||
if (CollUtil.isNotEmpty(workerAttendances)) {
|
if (CollUtil.isNotEmpty(workerAttendances)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user