瀏覽代碼

线上bug处理

542372506@qq.com 1 周之前
父節點
當前提交
04001f4344

+ 7 - 0
svr/svr-visit-behind/src/main/java/com/yihu/jw/hospital/module/rehabilitation/service/RehabilitationManageService.java

@ -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) {