Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-opsdoc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bc39811f
authored
May 16, 2022
by
向延琳
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改sql
1 parent
aa1d0bc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
1.7.0_五月/超速报警迁移.sql
1.7.0_五月/超速报警迁移.sql
View file @
bc39811
...
...
@@ -12,8 +12,9 @@ create table eshield_device_overspeed_copy
KEY
`sn`
(
`sn`
)
)
comment
'设备昨天超速记录表'
;
INSERT
INTO
eshield_device_overspeed_copy
(
id
,
sn
,
beginTime
,
endTime
,
duration
,
averageSpeed
,
updateTime
)
select
id
,
sn
,
beginTime
,
endTime
,
duration
,
averageSpeed
,
updateTime
select
id
,
edo
.
sn
,
beginTime
,
endTime
,
duration
,
averageSpeed
,
updateTime
from
eshield_device_overspeed
edo
inner
join
t_nes_device
tnd
on
edo
.
sn
=
tnd
.
sn
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment