小程序消息列表修改

This commit is contained in:
zhangheng 2024-08-02 09:32:17 +08:00
parent 117d7e3eb3
commit d1104081eb
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ public class SendTextMessageServiceImpl implements SendTextMessageService {
boolean before = localDate.isBefore(LocalDate.now()) || localDate.isEqual(LocalDate.now());
if (before) {
//超出7天更改状态
long until = LocalDate.now().until(localDate, ChronoUnit.DAYS);
long until = localDate.until(LocalDate.now(), ChronoUnit.DAYS);
if (until >= pushMessageRestrictions.getTime()) {
expiredManageRouteNodeIds.add(textMessage.getSignPatientManageRouteNodeId());
continue;

View File

@ -87,7 +87,7 @@ public class subscribeTaskServiceImpl implements SubscribeTaskService {
}
boolean before = localDate.isBefore(LocalDate.now()) || localDate.isEqual(LocalDate.now());
if (before) {
long until = LocalDate.now().until(localDate, ChronoUnit.DAYS);
long until =localDate.until(LocalDate.now(), ChronoUnit.DAYS);
if (until >= pushMessageRestrictions.getTime()) {
expiredManageRouteNodeIds.add(patientVO.getSignPatientManageRouteNodeId());
continue;