@ -515,7 +515,7 @@
WHERE 1=1
<if test="level != null and level != ''">
<if test="level=='agency'">
AND (CONCAT(PIDS, ':', agency_id) like CONCAT(#{id},':%'))
AND (CONCAT(PIDS, agency_id) like CONCAT(#{id},'%'))
</if>
<if test="level=='grid'">
AND GRID_ID = #{id}