|
@@ -62,11 +62,11 @@ public class UserClueServiceImpl extends BaseMybatisDao<UserMapper> implements U
|
|
|
|
|
|
|
|
private Pagination<OutUserClueList> pushReleaseUser(Pagination<OutUserClueList> page) {
|
|
private Pagination<OutUserClueList> pushReleaseUser(Pagination<OutUserClueList> page) {
|
|
|
List<OutUserClueList> list = (List<OutUserClueList>) page.getList();
|
|
List<OutUserClueList> list = (List<OutUserClueList>) page.getList();
|
|
|
- LocalDateTime now=LocalDateTime.now().withHour(0).withMinute(0).withSecond(0);
|
|
|
|
|
|
|
+ LocalDateTime now = LocalDateTime.now().withHour(0).withMinute(0).withSecond(0);
|
|
|
LocalDateTime clueTime = null;
|
|
LocalDateTime clueTime = null;
|
|
|
for (OutUserClueList e : list) {
|
|
for (OutUserClueList e : list) {
|
|
|
- clueTime = e.getClueTransferTime().toInstant().atZone(java.time.ZoneId.systemDefault()).toLocalDateTime();
|
|
|
|
|
- clueTime = clueTime.plusDays(15).withHour(0).withMinute(0).withSecond(0);
|
|
|
|
|
|
|
+ clueTime=e.getClueTransferTime().toInstant().atZone(java.time.ZoneId.systemDefault()).toLocalDateTime();
|
|
|
|
|
+ clueTime = clueTime.withHour(0).withMinute(0).withSecond(0).plusDays(15);
|
|
|
long between = ChronoUnit.DAYS.between(now,clueTime);
|
|
long between = ChronoUnit.DAYS.between(now,clueTime);
|
|
|
e.setDays((int) between);
|
|
e.setDays((int) between);
|
|
|
}
|
|
}
|