diff --git a/esua-epdc/epdc-admin/epdc-admin-server/src/main/resources/mapper/DeptMaCodeDao.xml b/esua-epdc/epdc-admin/epdc-admin-server/src/main/resources/mapper/DeptMaCodeDao.xml index dc9d334bb..e46654979 100644 --- a/esua-epdc/epdc-admin/epdc-admin-server/src/main/resources/mapper/DeptMaCodeDao.xml +++ b/esua-epdc/epdc-admin/epdc-admin-server/src/main/resources/mapper/DeptMaCodeDao.xml @@ -10,6 +10,7 @@ dg.`name` grid, dg.id AS GRID_ID, ed.CREATED_TIME, + ed.ID, ed.CODE_URL FROM sys_dept dg @@ -18,6 +19,9 @@ LEFT JOIN sys_dept ds ON dc.pid = ds.id WHERE dg.type_key = 'grid_party' and dg.del_flag = '0' + and ds.id = #{streetId} + and dc.id = #{communityId} + and dg.id = #{gridId} ORDER BY dc.`name` asc,dg.`name` asc