|
|
|
@ -439,6 +439,14 @@ public class EnforcementRegistrationServiceImpl implements IEnforcementRegistrat |
|
|
|
try { allUserIds.add(Convert.toLong(idStr.trim())); } catch (Exception ignored) {} |
|
|
|
} |
|
|
|
} |
|
|
|
// 判断超时多少天
|
|
|
|
Instant instant = vo.getEnforcementTime().toInstant(); |
|
|
|
ZoneId zoneId = ZoneId.systemDefault(); |
|
|
|
LocalDate startDate = instant.atZone(zoneId).toLocalDate(); |
|
|
|
// 今天距离执法时间所差天数
|
|
|
|
long daysBetween = ChronoUnit.DAYS.between(startDate, LocalDate.now()); |
|
|
|
vo.setOutTimeDayNum(daysBetween); |
|
|
|
|
|
|
|
} |
|
|
|
// 一次批量查询所有用户
|
|
|
|
Map<Long, SysUser> userMap = new HashMap<>(); |
|
|
|
@ -512,6 +520,8 @@ public class EnforcementRegistrationServiceImpl implements IEnforcementRegistrat |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return TableDataInfo.build(result); |
|
|
|
} |
|
|
|
|
|
|
|
|