|
@ -687,10 +687,12 @@ public class ConsultTeamService extends ConsultService {
|
|
|
} else if (ct.getType() == 2) {
|
|
|
// 咨询家庭医生
|
|
|
SignFamily sf = signFamilyDao.findByjiatingPatient(patient);
|
|
|
|
|
|
if (sf == null) {
|
|
|
// 不存在家庭签约
|
|
|
return -1;
|
|
|
}
|
|
|
ct.setTeam(sf.getTeamCode());
|
|
|
// 设置健康管理师,家庭医生咨询默认给健康管理师处理
|
|
|
//查找病人所在的团队
|
|
|
DoctorTeam doctorTeam = doctorTeamDao.findByParientCode(patient);
|