Commit ebc05efb by 罗志长

fix: 平台端设备管理列表关联长者

parent 9a51c435
...@@ -62,7 +62,6 @@ ...@@ -62,7 +62,6 @@
<select id="getDeviceIdsBySpaceIdAndElder" resultType="com.makeit.vo.platform.device.PlatDeviceListVO"> <select id="getDeviceIdsBySpaceIdAndElder" resultType="com.makeit.vo.platform.device.PlatDeviceListVO">
select select
distinct
pd.*, pd.*,
ps.parent_path as spaceParentPath, ps.parent_path as spaceParentPath,
ps.name as spaceName, ps.name as spaceName,
...@@ -118,6 +117,7 @@ ...@@ -118,6 +117,7 @@
</if> </if>
</where> </where>
GROUP BY pd.ori_device_id
order by pd.update_date desc,pd.id desc order by pd.update_date desc,pd.id desc
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment