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 8f59c9fb
authored
Mar 02, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
仲利工单配置文件
1 parent
c6d5be3b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
78 additions
and
1 deletions
1.4.1_新E盾/neshield_1.4.1.sql
1.4.1_新E盾/需要修改的配置.txt
1.4.1_新E盾/neshield_1.4.1.sql
View file @
8f59c9f
#
sql
配置信息
#
sql
配置信息
1111111
\ No newline at end of file
\ No newline at end of file
#
需要添加的表
CREATE
TABLE
if
not
exists
`t_vehicle_log`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`vehicle_id`
int
(
11
)
DEFAULT
NULL
COMMENT
'关联工单id'
,
`operate_content`
varchar
(
100
)
DEFAULT
NULL
COMMENT
'操作内容'
,
`remark`
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
`vehicle_id_index`
(
`vehicle_id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1
DEFAULT
CHARSET
=
utf8
COMMENT
=
'新e盾|车辆操作日志表'
;
create
table
t_workorder_vehicle_device
(
id
int
auto_increment
primary
key
,
workorder_id
int
not
null
comment
'关联工单id'
,
vehicle_id
int
null
comment
'工单车辆id'
,
sn
varchar
(
32
)
null
comment
'设备sn'
,
wire_type
tinyint
(
2
)
null
comment
'有线无线类型:1有线,0无线'
,
position
varchar
(
100
)
null
comment
'设备安装位置'
,
del_flag
tinyint
default
0
null
comment
'是否删除 0=正常 -1=删除'
,
created_date
datetime
null
comment
'创建时间'
,
created_by
int
null
comment
'创建人用户id'
,
updated_date
datetime
null
comment
'更新时间'
,
updated_by
int
null
comment
'更新人用户id'
)
comment
'新e盾|工单车辆设备附属表'
;
create
table
t_workorder_activate_log
(
id
int
auto_increment
comment
'id'
primary
key
,
workorder_id
int
not
null
comment
'关联工单id'
,
service_provider
varchar
(
100
)
null
comment
'服务商名称'
,
service_provider_phone
varchar
(
20
)
null
comment
'服务商电话'
,
mechanic_name
varchar
(
100
)
null
comment
'技工名称'
,
mechanic_phone
varchar
(
20
)
null
comment
'技工电话'
,
syn_channel
varchar
(
16
)
default
''
null
comment
'激活渠道(App;BGH(包活干))'
,
remark
varchar
(
500
)
null
comment
'备注'
,
del_flag
tinyint
default
0
null
comment
'是否删除 0=正常 -1=删除'
,
created_date
datetime
null
comment
'创建时间'
,
created_by
int
null
comment
'创建人用户id'
,
updated_date
datetime
null
comment
'更新时间'
,
updated_by
int
null
comment
'更新人用户id'
)
comment
'工单激活日志'
;
create
table
t_workorder_activate_location
(
id
int
auto_increment
comment
'id'
primary
key
,
workorder_id
int
not
null
comment
'关联工单id'
,
vehicle_id
int
not
null
comment
'车辆id'
,
sn
varchar
(
32
)
not
null
comment
'设备sn'
,
position
varchar
(
100
)
null
comment
'设备安装位置'
,
lnglat
varchar
(
128
)
null
comment
'经纬度坐标'
,
address
varchar
(
100
)
null
comment
'解析地址'
,
up_time
datetime
null
comment
'上点时间'
,
del_flag
tinyint
default
0
null
comment
'是否删除 0=正常 -1=删除'
,
created_date
datetime
null
comment
'创建时间'
,
created_by
int
null
comment
'创建人用户id'
,
updated_date
datetime
null
comment
'更新时间'
,
updated_by
int
null
comment
'更新人用户id'
)
comment
'工单激活位置信息'
;
alter
table
t_workorder
add
column
finished_time
datetime
null
comment
'工单完成时间'
after
finished_remark
,
modify
finished_remark
varchar
(
512
)
null
comment
'工单完成备注'
;
1.4.1_新E盾/需要修改的配置.txt
0 → 100644
View file @
8f59c9f
This diff is collapsed.
Click to expand it.
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