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