|
|
|
@ -174,7 +174,7 @@ |
|
|
|
and |
|
|
|
and |
|
|
|
( |
|
|
|
( |
|
|
|
<if test="categoryParentId != null and categoryParentId!=''"> |
|
|
|
<if test="categoryParentId != null and categoryParentId!=''"> |
|
|
|
CATEGORY_PARENT_ID like '%${categoryParentId}%' |
|
|
|
find_in_set(#{categoryParentId},CATEGORY_PARENT_ID) |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="categoryParentId == null or categoryParentId ==''"> |
|
|
|
<if test="categoryParentId == null or categoryParentId ==''"> |
|
|
|
<include refid="queryWhereCategoryId"></include> |
|
|
|
<include refid="queryWhereCategoryId"></include> |
|
|
|
@ -237,4 +237,4 @@ |
|
|
|
order by id desc |
|
|
|
order by id desc |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
</mapper> |
|
|
|
</mapper> |
|
|
|
|