|
@ -1641,6 +1641,7 @@ public class RehabilitationManageService {
|
|
|
if (list.size() > 0) {
|
|
|
planDO.setGuidanceMessage(list.get(0).get("content") + "");
|
|
|
}
|
|
|
|
|
|
}
|
|
|
String relationCode = planDO.getRelationCode();
|
|
|
if ("6".equals(planDO.getRelationType()) && StringUtils.isNotBlank(relationCode)) {
|
|
@ -1648,6 +1649,12 @@ public class RehabilitationManageService {
|
|
|
if (followup != null) {
|
|
|
planDO.setFollowupStatus(followup.getStatus());
|
|
|
}
|
|
|
if("1".equals(followup.getStatus())){
|
|
|
planDO.setStatus("1");
|
|
|
planDO.setCompleteTime(DateUtil.dateToStrLong(followup.getFollowupDate()));
|
|
|
}else {
|
|
|
planDO.setStatus("0");
|
|
|
}
|
|
|
}
|
|
|
PatientRehabilitationPlanDO rehabilitationPlanDO = patientRehabilitationPlanDao.findById(planDO.getPlanId()).orElse(null);
|
|
|
if (rehabilitationPlanDO != null) {
|