@ -90,7 +90,7 @@
AND r.GRID_PIDS LIKE concat('%',#{gridPids},'%')
</if>
<if test="null != level and level ==1">
and r.PARENT_CODE=#{categoryCode}
and (r.PARENT_CODE=#{categoryCode} or r.CATEGORY_CODE=#{categoryCode})
<if test="null != level and level ==2">
and r.CATEGORY_CODE=#{categoryCode}