浏览代码

Merge remote-tracking branch 'origin/V0.1.1' into V0.1.1

jingyuanchao 1 年之前
父节点
当前提交
bc32044750
共有 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">