فهرست منبع

修改分页查询

xujie 1 سال پیش
والد
کامیت
0a597b4cfc
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      soc-modules/soc-modules-iot/src/main/resources/mapper/IotDeviceInfoMapper.xml

+ 1 - 1
soc-modules/soc-modules-iot/src/main/resources/mapper/IotDeviceInfoMapper.xml

@@ -34,7 +34,7 @@
                     and d.org_path like concat(#{req.orgPath},'%')
                 </otherwise>
             </choose>
-        order by d.device_type asc
+        order by d.device_type asc,d.id desc
 
     </select>
     <select id="getDetailById" resultType="com.xunmei.iot.vo.deviceInfo.DeviceDetailInfoVo">