|
@ -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());
|