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