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 f0b60841
authored
Mar 18, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加配置文件
1 parent
9267e140
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
153 additions
and
1 deletions
1.5.0_三月/1.5.0数据库SQL脚本.sql
1.5.0_三月/1.5.0配置中心配置.md
1.5.0_三月/1.5.0数据库SQL脚本.sql
View file @
f0b6084
#
sql
脚本
\ No newline at end of file
\ No newline at end of file
#
sql
脚本
drop
table
if
exists
t_whitelist_sn
;
create
table
t_whitelist_sn
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`vin`
varchar
(
32
)
DEFAULT
NULL
COMMENT
'车架号'
,
`sn`
varchar
(
32
)
DEFAULT
NULL
COMMENT
'设备号'
,
`department_id`
int
(
11
)
DEFAULT
NULL
COMMENT
'部门id'
,
`del_flag`
tinyint
(
4
)
DEFAULT
'0'
COMMENT
'是否删除 0=正常 -1=删除'
,
`created_date`
datetime
DEFAULT
NULL
COMMENT
'创建时间|入库时间'
,
`created_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'创建人用户id'
,
`updated_date`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
`updated_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'更新人用户id'
,
PRIMARY
KEY
(
`id`
),
KEY
`sn_index`
(
`sn`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1
DEFAULT
CHARSET
=
utf8
COMMENT
=
'新e盾|假性离线设备号白名单'
;
drop
table
if
exists
t_fake_offline_fence_sn
;
create
table
t_fake_offline_fence_sn
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`sn`
varchar
(
32
)
DEFAULT
NULL
COMMENT
'设备号'
,
`status`
tinyint
(
2
)
DEFAULT
NULL
COMMENT
'是否在家庭围栏或者工作围栏内, 1表是在围栏内, 2表示不在围栏内'
,
`merchant_type`
tinyint
(
2
)
DEFAULT
NULL
COMMENT
'围栏类型: 1.家庭所在地围栏 2.工作所在地围栏'
,
`entry_time`
datetime
default
null
comment
'进围栏时间'
,
`out_time`
datetime
default
null
comment
'出围栏时间'
,
`trigger_time`
datetime
default
null
comment
'假性离线触发时间'
,
`addr`
varchar
(
512
)
default
null
comment
'家庭地址|工作地址'
,
`unique_flag`
varchar
(
64
)
default
null
comment
'假性离线警情唯一标识符(设备号+报警类型+触发时间))'
,
`del_flag`
tinyint
(
4
)
DEFAULT
'0'
COMMENT
'是否删除 0=正常 -1=删除'
,
`created_date`
datetime
DEFAULT
NULL
COMMENT
'创建时间|入库时间'
,
`created_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'创建人用户id'
,
`updated_date`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
`updated_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'更新人用户id'
,
PRIMARY
KEY
(
`id`
),
KEY
`sn_index`
(
`sn`
),
KEY
`unique_flag_index`
(
`unique_flag`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1
DEFAULT
CHARSET
=
utf8
COMMENT
=
'新e盾|假性离线围栏数据'
;
drop
table
if
exists
t_fake_offline_vin
;
create
table
t_fake_offline_vin
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`vin`
varchar
(
32
)
DEFAULT
NULL
COMMENT
'车架号'
,
`status`
tinyint
(
2
)
DEFAULT
NULL
COMMENT
'是否是假性离线车架号, 1表是假性离线车架号, 2表示不是假性离线车架号'
,
`home_addr`
varchar
(
512
)
default
null
comment
'家庭地址'
,
`work_addr`
varchar
(
512
)
default
null
comment
'工作地址'
,
`del_flag`
tinyint
(
4
)
DEFAULT
'0'
COMMENT
'是否删除 0=正常 -1=删除'
,
`created_date`
datetime
DEFAULT
NULL
COMMENT
'创建时间|入库时间'
,
`created_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'创建人用户id'
,
`updated_date`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
`updated_by`
int
(
11
)
DEFAULT
NULL
COMMENT
'更新人用户id'
,
PRIMARY
KEY
(
`id`
),
unique
KEY
`vin_index`
(
`vin`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1
DEFAULT
CHARSET
=
utf8
COMMENT
=
'新e盾|假性离线车架号数据'
;
\ No newline at end of file
\ No newline at end of file
1.5.0_三月/1.5.0配置中心配置.md
View file @
f0b6084
...
@@ -26,3 +26,92 @@
...
@@ -26,3 +26,92 @@
```
```
## 二、项目:ne-shield-kafkaconsumer
### 1、开发配置
```
properties
#假性离线Topic
mq.kafka.fake.office.topic
=
fence_fake_offline
```
### 2、测试配置
```
properties
#假性离线Topic
mq.kafka.fake.office.topic
=
fence_fake_offline
```
### 3、生产配置
```
properties
#假性离线Topic
mq.kafka.fake.office.topic
=
fence_fake_offline
```
## 三、项目:biz-gps-kafka-pazlpush
### 1、开发配置
```
properties
#平安租赁默认分组
pazlpush.pingan.groupid
=
200
需要修改的配置
对应的参数修改为一下参数:
# topic 断电报警 光感报警
assign.gpsalarm.topic
=
gps_alarm_pingan
# gps和基站
topic.device.gpsandbs
=
gps_gpsandbs_pingan
# GPS上点
topic.device.gps
=
gps_gpsdata_pingan
# 基站上点
topic.device.bs
=
gps_basestation_pingan
```
### 2、测试配置
```
properties
#平安租赁默认分组
pazlpush.pingan.groupid
=
200
需要修改的配置
对应的参数修改为一下参数:
# topic 断电报警 光感报警
assign.gpsalarm.topic
=
gps_alarm_pingan
# gps和基站
topic.device.gpsandbs
=
gps_gpsandbs_pingan
# GPS上点
topic.device.gps
=
gps_gpsdata_pingan
# 基站上点
topic.device.bs
=
gps_basestation_pingan
```
### 3、生产配置
```
properties
#平安租赁默认分组
pazlpush.pingan.groupid
=
402
需要修改的配置
对应的参数修改为一下参数:
# topic 断电报警 光感报警
assign.gpsalarm.topic
=
gps_alarm_pingan
# gps和基站
topic.device.gpsandbs
=
gps_gpsandbs_pingan
# GPS上点
topic.device.gps
=
gps_gpsdata_pingan
# 基站上点
topic.device.bs
=
gps_basestation_pingan
```
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