lin
2024-04-16 2b1a74f4faa5a00a294bdc6a6d956c2e009cf467
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,