刘帅
2026-09-21 7a8af8c19b40b8028e25ee0b669463d06f723a30
cloud-server-management/src/main/resources/mapper/DictMapper.xml
@@ -27,7 +27,7 @@
        select
        <include refid="Base_Column_List"/>
        from sys_dict
        where pid in(select id  from sys_dict where code = #{code}) order by num asc
        where pid in(select id  from sys_dict where code = #{code}) order by num desc
    </select>
    <select id="list" resultType="map">
@@ -36,7 +36,7 @@
        <if test="condition != null and condition != ''">
            AND name like CONCAT('%',#{condition},'%')
        </if>
        order by id ASC
        order by id DESC
    </select>
</mapper>