小程序消息列表修改
This commit is contained in:
parent
117d7e3eb3
commit
d1104081eb
@ -90,7 +90,7 @@ public class SendTextMessageServiceImpl implements SendTextMessageService {
|
|||||||
boolean before = localDate.isBefore(LocalDate.now()) || localDate.isEqual(LocalDate.now());
|
boolean before = localDate.isBefore(LocalDate.now()) || localDate.isEqual(LocalDate.now());
|
||||||
if (before) {
|
if (before) {
|
||||||
//超出7天,更改状态
|
//超出7天,更改状态
|
||||||
long until = LocalDate.now().until(localDate, ChronoUnit.DAYS);
|
long until = localDate.until(LocalDate.now(), ChronoUnit.DAYS);
|
||||||
if (until >= pushMessageRestrictions.getTime()) {
|
if (until >= pushMessageRestrictions.getTime()) {
|
||||||
expiredManageRouteNodeIds.add(textMessage.getSignPatientManageRouteNodeId());
|
expiredManageRouteNodeIds.add(textMessage.getSignPatientManageRouteNodeId());
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
@ -87,7 +87,7 @@ public class subscribeTaskServiceImpl implements SubscribeTaskService {
|
|||||||
}
|
}
|
||||||
boolean before = localDate.isBefore(LocalDate.now()) || localDate.isEqual(LocalDate.now());
|
boolean before = localDate.isBefore(LocalDate.now()) || localDate.isEqual(LocalDate.now());
|
||||||
if (before) {
|
if (before) {
|
||||||
long until = LocalDate.now().until(localDate, ChronoUnit.DAYS);
|
long until =localDate.until(LocalDate.now(), ChronoUnit.DAYS);
|
||||||
if (until >= pushMessageRestrictions.getTime()) {
|
if (until >= pushMessageRestrictions.getTime()) {
|
||||||
expiredManageRouteNodeIds.add(patientVO.getSignPatientManageRouteNodeId());
|
expiredManageRouteNodeIds.add(patientVO.getSignPatientManageRouteNodeId());
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user