消息推送修改

This commit is contained in:
zhangheng 2024-07-25 09:53:51 +08:00
parent a926f6324d
commit 5e8e4547fe

View File

@ -61,7 +61,7 @@ public class subscribeTaskServiceImpl implements SubscribeTaskService {
if (Objects.nonNull(patientVO.getDischargeTime())) {
localDate = patientVO.getDischargeTime().plusDays(signPatientManageRouteNode.getRouteNodeDay());
}
if (Objects.nonNull(patientVO.getVisitDate())) {
if (Objects.isNull(patientVO.getDischargeTime()) && Objects.nonNull(patientVO.getVisitDate())) {
localDate = patientVO.getVisitDate().plusDays(signPatientManageRouteNode.getRouteNodeDay());
}
if (Objects.isNull(localDate)) {