xuezizhuo 1 год назад
Родитель
Сommit
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">