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 42c8fc4a
authored
Apr 18, 2022
by
向延琳
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改测试配置
1 parent
73988ec0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletions
1.6.0_四月/1.6.0数据库SQL脚本.sql
1.6.0_四月/1.6.0配置中心配置.md
1.6.0_四月/1.6.0数据库SQL脚本.sql
View file @
42c8fc4
...
@@ -121,3 +121,23 @@ VALUES (1, 'batchLinkFenceSns', 'https://wx.glsx.com.cn/upload/salesexcel/批量
...
@@ -121,3 +121,23 @@ VALUES (1, 'batchLinkFenceSns', 'https://wx.glsx.com.cn/upload/salesexcel/批量
alter
table
t_electric_fence
modify
fence_name
varchar
(
256
)
null
comment
'栅栏名称'
;
alter
table
t_electric_fence
modify
fence_name
varchar
(
256
)
null
comment
'栅栏名称'
;
alter
table
t_vehicle
modify
engine
varchar
(
52
)
null
comment
'发动机'
;
alter
table
t_vehicle
modify
engine
varchar
(
52
)
null
comment
'发动机'
;
alter
table
t_workorder_vehicle
modify
engine_no
varchar
(
52
)
null
comment
'发动机号'
;
alter
table
t_workorder_vehicle
modify
engine_no
varchar
(
52
)
null
comment
'发动机号'
;
-- 里程初始化
-- 更新vdId
update
t_device_journey
tdj
INNER
JOIN
t_vehicle_device
tvd
on
tvd
.
sn
=
tdj
.
sn
LEFT
JOIN
t_vehicle
tv
on
tv
.
id
=
tvd
.
vehicle_id
SET
tdj
.
vd_id
=
tvd
.
id
,
tdj
.
created_by
=
tv
.
created_by
where
tvd
.
del_flag
=
0
and
tdj
.
begin_time
>=
tv
.
created_date
and
tvd
.
bind_status
=
1
and
tdj
.
id
<
500000
and
tdj
.
id
>=
0
;
#
更新总里程
INSERT
INTO
t_device_journey_overview
(
sn
,
vd_id
,
total_journey_count
,
distance
)
select
sn
,
vd_id
,
count
(
1
),
sum
(
mileage
)
from
t_device_journey
where
vd_id
is
not
null
group
by
sn
,
vd_id
;
\ No newline at end of file
\ No newline at end of file
1.6.0_四月/1.6.0配置中心配置.md
View file @
42c8fc4
...
@@ -215,7 +215,7 @@ mq.kafka.device.battery.topic=topic_device_battery
...
@@ -215,7 +215,7 @@ mq.kafka.device.battery.topic=topic_device_battery
```
properties
```
properties
#设备行程
#设备行程
mq.kafka.device.journey.topic
=
neshield_journey
neshield_journey_new
#设备电量
#设备电量
mq.kafka.device.battery.topic
=
topic_device_battery
mq.kafka.device.battery.topic
=
topic_device_battery
```
```
...
...
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