lin
2024-03-12 02f3b2a577143724b09a70cd13cd3e9256f5fc21
src/main/java/org/springblade/modules/category/mapper/CategoryMapper.xml
@@ -30,6 +30,7 @@
        <if test="category.parentNo!=null and category.parentNo!=''">
            and parent_no = #{category.parentNo}
        </if>
        order by -sort desc
    </select>
    <select id="selectCategoryList" resultType="org.springblade.modules.category.dto.CategoryDTO">
@@ -60,6 +61,7 @@
    <select id="getTreeList" resultType="org.springblade.common.node.TreeIntegerNode">
        SELECT
            jc.category_no AS id,
            jc.id AS ids,
            jc.category_no,
            jc.parent_no AS parentId,
            jc.category_name AS name,