|
@ -23,6 +23,7 @@ import com.yihu.wlyy.repository.specialist.SpecialDiseaseDao;
|
|
|
import com.yihu.wlyy.repository.specialist.TeamDiseaseRelationDao;
|
|
|
import com.yihu.wlyy.repository.wechat.WechatTemplateConfigDao;
|
|
|
import com.yihu.wlyy.service.BaseService;
|
|
|
import com.yihu.wlyy.service.app.team.AdminTeamService;
|
|
|
import com.yihu.wlyy.task.PushMsgTask;
|
|
|
import com.yihu.wlyy.util.DateUtil;
|
|
|
import com.yihu.wlyy.util.http.HttpResponse;
|
|
@ -81,6 +82,8 @@ public class SpecialistService extends BaseService {
|
|
|
private PushMsgTask pushMsgTask;
|
|
|
@Autowired
|
|
|
private WechatTemplateConfigDao templateConfigDao;
|
|
|
@Autowired
|
|
|
private AdminTeamService memberService;
|
|
|
|
|
|
public String setPatientLabelInfo(List<SignPatientLabelInfo> list) {
|
|
|
if (list != null && list.size() > 0) {
|
|
@ -621,6 +624,12 @@ public class SpecialistService extends BaseService {
|
|
|
JSONObject json = rs.getJSONObject("obj");
|
|
|
List<PatientDiseaseServer> patientDiseaseServers = patientDiseaseServerDao.findBySpecialistRelationCodeAndDel(code,"1");
|
|
|
json.put("diseaseServer",patientDiseaseServers);
|
|
|
|
|
|
//根据团队ID获取医生列表
|
|
|
Long teamCode = json.getLong("teamCode");
|
|
|
List<Doctor> members = memberService.getMembers(teamCode);
|
|
|
json.put("doctors",members);
|
|
|
|
|
|
return json;
|
|
|
}
|
|
|
return null;
|