Commit 21784996 by 杨林龙

展示试驾列表的时候 拆分设备号

1 parent d8d82a14
......@@ -392,7 +392,7 @@
tv.id ,
tv.vin ,
tv.owner_name as ownerName,
GROUP_CONCAT(td.sn) as sns
td.sn as sns
from t_vehicle tv
left join t_vehicle_device tvd on tvd.vehicle_id = tv.id
left join t_device td on td.sn = tvd.sn
......@@ -420,7 +420,6 @@
<if test="shopId != null and shopId !=''">
and tu.id = #{shopId}
</if>
GROUP BY tv.vin
order by tv.created_date desc
order by tv.created_date desc,tv.id
</select>
</mapper>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!