소스 검색

设备管理-电力监测设备查询倒叙

jichaobo 3 년 전
부모
커밋
7ec2065292
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      fiveep-persistence/src/main/resources/mapper/mysql/DeviceAttributeMapper.xml

+ 1 - 0
fiveep-persistence/src/main/resources/mapper/mysql/DeviceAttributeMapper.xml

@@ -56,6 +56,7 @@
                 and a.phone LIKE CONCAT(CONCAT('%', #{phone}), '%')
             </if>
         </where>
+        order by a.id desc
         <if test="startCurrent != null and size !=0">
             LIMIT #{startCurrent},
             #{size}