|
@ -23,6 +23,7 @@ import com.yihu.wlyy.repository.specialist.SpecialDiseaseDao;
|
|
import com.yihu.wlyy.repository.specialist.TeamDiseaseRelationDao;
|
|
import com.yihu.wlyy.repository.specialist.TeamDiseaseRelationDao;
|
|
import com.yihu.wlyy.repository.wechat.WechatTemplateConfigDao;
|
|
import com.yihu.wlyy.repository.wechat.WechatTemplateConfigDao;
|
|
import com.yihu.wlyy.service.BaseService;
|
|
import com.yihu.wlyy.service.BaseService;
|
|
|
|
import com.yihu.wlyy.service.app.disease.PatientDiseaseService;
|
|
import com.yihu.wlyy.service.app.label.SignPatientLabelService;
|
|
import com.yihu.wlyy.service.app.label.SignPatientLabelService;
|
|
import com.yihu.wlyy.service.app.team.AdminTeamService;
|
|
import com.yihu.wlyy.service.app.team.AdminTeamService;
|
|
import com.yihu.wlyy.task.PushMsgTask;
|
|
import com.yihu.wlyy.task.PushMsgTask;
|
|
@ -72,6 +73,8 @@ public class SpecialistService extends BaseService {
|
|
@Autowired
|
|
@Autowired
|
|
private PatientDiseaseServerDao patientDiseaseServerDao;
|
|
private PatientDiseaseServerDao patientDiseaseServerDao;
|
|
@Autowired
|
|
@Autowired
|
|
|
|
private PatientDiseaseService patientDiseaseService;
|
|
|
|
@Autowired
|
|
private PatientDao patientDao;
|
|
private PatientDao patientDao;
|
|
@Autowired
|
|
@Autowired
|
|
private SpecialDiseaseDao specialDiseaseDao;
|
|
private SpecialDiseaseDao specialDiseaseDao;
|
|
@ -182,7 +185,10 @@ public class SpecialistService extends BaseService {
|
|
List<SignPatientLabel> list = signPatientLabelDao.findByLabelTypeAndStatusAndTeamCode(type, 1, teamCode);
|
|
List<SignPatientLabel> list = signPatientLabelDao.findByLabelTypeAndStatusAndTeamCode(type, 1, teamCode);
|
|
|
|
|
|
return setPatientCount(list, doctor);
|
|
return setPatientCount(list, doctor);
|
|
} else {
|
|
|
|
|
|
} else if("7".equals(type)){
|
|
|
|
return patientDiseaseService.getPatientDiseaseCount(doctor,teamCode);
|
|
|
|
}
|
|
|
|
else {
|
|
//非自定义标签
|
|
//非自定义标签
|
|
List<SignPatientLabel> list = signPatientLabelDao.findByLabelTypeAndStatus(type, 1);
|
|
List<SignPatientLabel> list = signPatientLabelDao.findByLabelTypeAndStatus(type, 1);
|
|
|
|
|