Commit 76e916f1 by 杨卫

feat:标签分类、标签维度、标签枚举自测提交

1 parent 2fa6a9fc
...@@ -105,16 +105,4 @@ ...@@ -105,16 +105,4 @@
WHERE category_code = #{categoryCode} AND deleted_flag = 'N' WHERE category_code = #{categoryCode} AND deleted_flag = 'N'
</select> </select>
<!-- 查询所有叶子分类(无子分类的节点) -->
<select id="selectLeafCategories" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List"/>
FROM dj_car_life_tag_category c
WHERE c.deleted_flag = 'N'
AND NOT EXISTS (
SELECT 1 FROM dj_car_life_tag_category sub
WHERE sub.parent_id = c.id AND sub.deleted_flag = 'N'
)
ORDER BY c.level ASC, c.sort_order ASC
</select>
</mapper> </mapper>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!