瀏覽代碼

fix:租户列表倒序排序

xuezizhuo 1 年之前
父節點
當前提交
b85a7693a1
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ruoyi-system/src/main/resources/mapper/system/SysTenantMapper.xml

+ 1 - 0
ruoyi-system/src/main/resources/mapper/system/SysTenantMapper.xml

@@ -30,6 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="contactInfo != null  and contactInfo != ''"> and contact_info = #{contactInfo}</if>
             <if test="address != null  and address != ''"> and address = #{address}</if>
             <if test="isDel != null  and isDel != ''"> and is_del = #{isDel}</if>
+             order by tenant_id desc
     </select>
     
     <select id="selectSysTenantByTenantId" parameterType="Long" resultMap="SysTenantResult">