|
@ -1257,10 +1257,16 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
" d.job_title_name AS \"jobTitleName\"," +
|
|
|
" d.charge_type AS \"chargeType\"," +
|
|
|
" d.outpatient_type AS \"outpatientType\"," +
|
|
|
" d.consult_status AS \"consultStatus\"" +
|
|
|
" d.consult_status AS \"consultStatus\"," +
|
|
|
" h.dept_code AS \"deptCode\","+
|
|
|
" h.dept_name AS \"deptName\","+
|
|
|
" h.org_code AS \"orgCode\","+
|
|
|
" h.org_name AS \"orgName\","+
|
|
|
" t.photo AS \"hosptialphoto\""+
|
|
|
" FROM " +
|
|
|
" base_doctor d " +
|
|
|
" JOIN base_doctor_hospital h ON h.doctor_code = d.id " +
|
|
|
" left join base_org t on t.id = h.org_code" +
|
|
|
" WHERE " +
|
|
|
" 1=1 and d.del=1 ";
|
|
|
Map<String, Object> params = new HashedMap();
|