Sfoglia il codice sorgente

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

jichaobo 3 anni fa
parent
commit
7ec2065292

+ 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}