diff --git a/epdc-cloud-admin/src/main/resources/mapper/ReportMaCodeDao.xml b/epdc-cloud-admin/src/main/resources/mapper/ReportMaCodeDao.xml
index c0c2304..1752bdb 100644
--- a/epdc-cloud-admin/src/main/resources/mapper/ReportMaCodeDao.xml
+++ b/epdc-cloud-admin/src/main/resources/mapper/ReportMaCodeDao.xml
@@ -43,7 +43,7 @@
and dc.id = #{communityId}
and dg.id = #{gridId}
- AND ma.grid_id IN #{deptId}
+ AND ed.grid_id IN #{deptId}
ORDER BY
dc.`name` asc,dg.`name` asc