@ -426,7 +426,9 @@
ic_resi_user ir
WHERE
ir.DEL_FLAG = '0'
AND ir.AGENCY_ID = #{agencyId}
<if test="agencyId != null and agencyId != ''">
</if>
<if test="gridId != null and gridId != ''">
AND ir.GRID_ID = #{gridId}