Commit 7ecfeb5d by levphon

围栏设备vdid

1 parent 2ee1e389
......@@ -173,4 +173,7 @@ INSERT INTO t_device_journey_overview (sn, vd_id, total_journey_count, distance,
select sn, vd_id, count(1), sum(mileage), created_by, created_date, updated_date
from t_device_journey
where vd_id is not null
group by sn, vd_id;
\ No newline at end of file
group by sn, vd_id;
alter table t_electric_fence_sns add vd_id int null comment '车辆设备绑定关系' after sn;
alter table t_electric_fence_sns_copy add vd_id int null comment '车辆设备绑定关系' after sn;
\ 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!