|
@ -635,7 +635,7 @@ public class CarePatientService extends BaseJpaService<BasePatientDO, BasePatien
|
|
|
}
|
|
|
|
|
|
public Integer findHelperTotal(String name,String filter){
|
|
|
String sql = "SELECT count(id) from base_doctor WHERE doctor_level = 2 and del = '1' ";
|
|
|
String sql = "SELECT count(a.id) from base_doctor a,base_doctor_hospital h WHERE a.id=h.doctor_code and a.doctor_level = 2 and a.del = '1' and h.del = '1' ";
|
|
|
if(!StringUtil.isBlank(name)){
|
|
|
sql+= " and name like '%"+name+"%' ";
|
|
|
}
|