|
@ -50,6 +50,7 @@ public class BaseDoctorService extends BaseJpaService<BaseDoctorDO, BaseDoctorDa
|
|
|
" base_doctor a " +
|
|
|
" JOIN base_doctor_hospital b ON a.id = b.doctor_code " +
|
|
|
" JOIN wlyy_charge_dict e ON a.charge_type = e.charge_type " +
|
|
|
" JOIN base_doctor_mapping c ON a.id = c.doctor " +
|
|
|
" WHERE " +
|
|
|
" 1 = 1";
|
|
|
if (StringUtils.isNotBlank(city)){
|
|
@ -90,6 +91,7 @@ public class BaseDoctorService extends BaseJpaService<BaseDoctorDO, BaseDoctorDa
|
|
|
" base_doctor a " +
|
|
|
" JOIN base_doctor_hospital b ON a.id = b.doctor_code " +
|
|
|
" JOIN wlyy_charge_dict e ON a.charge_type = e.charge_type " +
|
|
|
" JOIN base_doctor_mapping c ON a.id = c.doctor " +
|
|
|
" WHERE 1=1";
|
|
|
if (StringUtils.isNotBlank(city)){
|
|
|
sql += " AND a.city_name =:city";
|