Selaa lähdekoodia

修改分页查询

xujie 1 vuosi sitten
vanhempi
commit
0a597b4cfc

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