|
|
String sql = "SELECT d.id,d.name,d.doctor_level level,d.photo,d.introduce,d.expertise,CONCAT(left(d.mobile,3),'*****',right(d.mobile,3)) mobile,CONCAT(LEFT ( d.idcard, 5 ),'**********',RIGHT ( d.idcard, 3 )) idcard,d.sex,h.dept_code deptCode,h.dept_name deptName,d.job_title_code jobTitleCode,d.job_title_name jobTitleName ";
|
|
|
sql += " ,h.org_code orgCode,org.address orgAddress,org.name orgName,d.ykt_doctor_id zzdId from base_doctor d left join base_doctor_hospital h on d.id = h.doctor_code and h.del = 1" +
|