Commit a792af20 by 谢海旭

【ID1016889】 bug修复

1 parent 3292b8fa
......@@ -343,9 +343,10 @@
<select id="getByVehicleId" resultType="cn.com.glsx.admin.modules.model.vo.DeviceInformationVO">
select
tvd.sn sn,
tvd.wire_type source,
td.source source,
ifnull(tdjo.distance, 0)/1000 totalMileage
from t_vehicle_device tvd
left join t_device td on td.sn = tvd.sn
left join t_device_journey_overview tdjo on tdjo.sn = tvd.sn
where tvd.vehicle_id = #{vehicleId}
and tvd.bind_status = 1
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!