Browse Source

Merge branch 'dev' of liubing/wlyy2.0 into dev

shikejing 4 years ago
parent
commit
a4d68dda09

+ 1 - 1
svr/svr-wlyy-specialist/src/main/java/com/yihu/jw/service/rehabilitation/RehabilitationManageService.java

@ -1431,7 +1431,7 @@ public class RehabilitationManageService {
        PatientRehabilitationPlanDO p =patientRehabilitationPlanDao.findById(planId);
        SpecialistPatientRelationDO specialistPatientRelationDO;
        if (p.getTeamCode()!= null) {
             specialistPatientRelationDO = specialistPatientRelationDao.findByDoctorAndPatientAndTeamCode(p.getCreateUser(),p.getPatient(),p.getTeamCode());
             specialistPatientRelationDO = specialistPatientRelationDao.findByTeamCodeAndPatient(p.getTeamCode(),p.getPatient());
        }
        else {
             specialistPatientRelationDO = specialistPatientRelationDao.findByDoctorAndPatient(p.getCreateUser(),p.getPatient());