Commit 4a972830 by 杨林龙

修改数据迁移SQL

1 parent 97daef7f
......@@ -16,8 +16,8 @@ select ttsa.id,
alarmNo,
updateTime
from t_track_stujudge_alarm ttsa
left join t_device td on td.sn = ttsa.sn
where td.sn is not null;
left join t_nes_device tnd on tnd.sn = ttsa.sn
where tnd.sn is not null;
# 拷贝 d_track_alarm_rec_yang 表到 neshield 库中
......
......@@ -20,8 +20,8 @@ select alarmid,
alarmNo,
updateTime
from d_track_alarm_rec dtar
left join t_device td on td.sn = dtar.sn
where td.sn is not null;
left join t_nes_device tnd on tnd.sn = dtar.sn
where tnd.sn is not null;
# 拷贝 d_track_alarm_rec_yang 表到 neshield 库中
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!