Commit 1b1721a1 by 向延琳

车辆总数

1 parent 761eafb3
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
</select> </select>
<select id="countDeviceWithAuth" resultType="java.lang.Integer"> <select id="countDeviceWithAuth" resultType="java.lang.Integer">
select count(tv.id) select count(distinct tv.id)
from t_vehicle tv from t_vehicle tv
left join t_vehicle_device tvd on tvd.vehicle_id = tv.id left join t_vehicle_device tvd on tvd.vehicle_id = tv.id
<where> <where>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!