|
@ -510,7 +510,7 @@ public class PatientDiseaseService extends BaseService {
|
|
|
"b.disease_name AS labelName," +
|
|
|
"b.disease AS label " +
|
|
|
"FROM wlyy_specialist.wlyy_specialist_patient_relation a " +
|
|
|
"JOIN wlyy.wlyy_patient_disease_server b ON a.patient=b.patient and b.del=1 " +
|
|
|
"JOIN wlyy.wlyy_patient_disease_server b ON a.id=b.specialist_relation_code and b.del=1 " +
|
|
|
"WHERE a.sign_status> 0 AND a.`status`>=0 AND b.del =1 " +
|
|
|
"AND a.doctor='"+doctor+"' " +
|
|
|
"GROUP BY b.disease";
|