|
@ -739,11 +739,6 @@ public class ConsultTeamService extends ConsultService {
|
|
|
ct.setConsult(consult.getCode());
|
|
|
// 保存医生咨询信息
|
|
|
// 添加咨询转发记录
|
|
|
ConsultTeamDoctor cd = new ConsultTeamDoctor();
|
|
|
cd.setConsult(consult.getCode());
|
|
|
cd.setDel("1");
|
|
|
cd.setCzrq(new Date());
|
|
|
cd.setTo(ct.getDoctor());
|
|
|
// 添加医生咨询日志
|
|
|
String content = addLogs(ct);
|
|
|
//推送给IM去创建议题,取得成员消息
|
|
@ -756,7 +751,17 @@ public class ConsultTeamService extends ConsultService {
|
|
|
ct.setStartMsgId(obj.get("start_msg_id").toString());
|
|
|
consultTeamDao.save(ct);
|
|
|
consultDao.save(consult);
|
|
|
consultTeamDoctorDao.save(cd);
|
|
|
for(String key :users.keySet()){
|
|
|
if(patient.equals(key)){
|
|
|
continue;
|
|
|
}
|
|
|
ConsultTeamDoctor cd = new ConsultTeamDoctor();
|
|
|
cd.setConsult(consult.getCode());
|
|
|
cd.setDel("1");
|
|
|
cd.setCzrq(new Date());
|
|
|
cd.setTo(key);
|
|
|
consultTeamDoctorDao.save(cd);
|
|
|
}
|
|
|
return 1;
|
|
|
}
|
|
|
|