|
|
@ -4388,7 +4388,6 @@ public class ImService {
|
|
|
"\ta. scbgjt_org_name AS \"scbgjtOrgName\"\n" +
|
|
|
"FROM\n" +
|
|
|
"\twlyy_outpatient a\n" +
|
|
|
"LEFT JOIN wlyy_prescription b ON a.id = b.outpatient_id\n" +
|
|
|
"LEFT JOIN wlyy_consult c ON c.relation_code = a.id\n" +
|
|
|
"LEFT JOIN wlyy_consult_team d ON c.id = d.consult\n" +
|
|
|
"LEFT JOIN base_patient e ON a.patient = e.id\n" +
|