|
@ -2179,7 +2179,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
sql+=" JOIN wlyy_doctor_work_time wk on wk.doctor = d.id ";
|
|
|
}
|
|
|
sql += " WHERE " +
|
|
|
" h.org_code = '"+orgCode+"'";
|
|
|
" d.charge_type is not null and h.org_code = '"+orgCode+"'";
|
|
|
if(StringUtils.isNotBlank(diseaseKey)){
|
|
|
sql+=" AND d.expertise like '%"+diseaseKey+"%'";
|
|
|
}
|