@ -91,7 +91,7 @@
WHERE
spr.del_flag = '0'
<if test='orgType != "" and orgType != null and "agency" == orgType'>
AND spr.agency_id = #{orgId}
AND spr.grid_pids LIKE CONCAT('%', #{orgId}, '%')
</if>
<if test='orgType != "" and orgType != null and "grid" == orgType'>
AND spr.grid = #{orgId}