This commit is contained in:
huise 2020-01-20 17:32:12 +08:00
commit ba09b022c4
3 changed files with 2 additions and 2 deletions

View File

@ -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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB