소스 검색

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">