Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄嘉阳
/
iot-platform-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
84375ab0
authored
Oct 17, 2023
by
huangjy
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix: 系统初始化sql
parent
6c046059
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
db/init/init_data.sql
db/init/init_data.sql
View file @
84375ab0
...
...
@@ -7,3 +7,25 @@ INSERT INTO `plat_alarm_config`(`id`, `alarm_type`, `status`, `org_id`, `city_or
INSERT
INTO
`plat_alarm_config`
(
`id`
,
`alarm_type`
,
`status`
,
`org_id`
,
`city_org_id`
,
`district_org_id`
,
`street_org_id`
,
`org_path`
,
`rule_config`
,
`content`
,
`notify_channel`
,
`notify_relation`
,
`notify_way`
,
`notify_user`
,
`description`
,
`create_by`
,
`create_date`
,
`update_by`
,
`update_date`
,
`del_flag`
,
`tenant_id`
,
`content_audit`
)
VALUES
(
'16996682046846648331'
,
'4'
,
'1'
,
'1701542574740770817'
,
NULL
,
NULL
,
NULL
,
NULL
,
'{
\"
averageDuration
\"
:
\"
5
\"
}'
,
'[#长者姓名]在[#上级空间名-房间名]内存在行为异常,请及时处理!'
,
''
,
'1'
,
'1'
,
NULL
,
NULL
,
'platAdmin02'
,
'2023-09-07 14:17:33'
,
'platAdmin02'
,
'2023-09-07 14:17:33'
,
'0'
,
'0'
,
NULL
);
INSERT
INTO
`sys_config_category`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'2'
,
'0'
,
'elder.blood'
,
'长者血型'
,
'2023-07-11 10:55:06'
,
'2023-07-11 10:55:08'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config_category`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'3'
,
'0'
,
'elder.socialRelation'
,
'长者社会关系'
,
'2023-07-11 10:55:06'
,
'2023-07-11 10:55:08'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config_category`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'4'
,
'0'
,
'elder.elderType'
,
'长者老人类型'
,
'2023-07-11 10:55:06'
,
'2023-07-11 10:55:08'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config_category`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'5'
,
'0'
,
'elder.illness'
,
'长者疾病状况'
,
'2023-07-11 10:55:06'
,
'2023-07-11 10:55:08'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config_category`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'6'
,
'0'
,
'elder.foodProhibition'
,
'长者饮食禁忌'
,
'2023-07-11 10:55:06'
,
'2023-07-11 10:55:08'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config_category`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'7'
,
'0'
,
'elder.hobbies'
,
'长者兴趣爱好'
,
'2023-07-11 10:55:06'
,
'2023-07-11 10:55:08'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config_category`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'8'
,
'0'
,
'elder.education'
,
'长者文化程度'
,
'2023-07-11 10:55:06'
,
'2023-07-11 10:55:08'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config_category`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'9'
,
'0'
,
'elder.belief'
,
'长者宗教信仰'
,
'2023-07-11 10:55:06'
,
'2023-07-11 10:55:08'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`value`
,
`sort`
,
`description`
,
`category_id`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'1'
,
'0'
,
'elder.certificateType.idCard'
,
'身份证'
,
'1'
,
0
,
''
,
'1'
,
'2023-07-11 10:57:57'
,
'2023-07-11 10:58:02'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`value`
,
`sort`
,
`description`
,
`category_id`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'10'
,
'0'
,
'elder.income.low'
,
'低收入'
,
'1'
,
0
,
''
,
'10'
,
'2023-07-11 10:57:57'
,
'2023-07-11 10:58:02'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`value`
,
`sort`
,
`description`
,
`category_id`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'2'
,
'0'
,
'elder.blood.a'
,
'A'
,
'1'
,
0
,
''
,
'2'
,
'2023-07-11 10:57:57'
,
'2023-07-11 10:58:02'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`value`
,
`sort`
,
`description`
,
`category_id`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'20'
,
'0'
,
'elder.marriage.no'
,
'未婚'
,
'0'
,
0
,
''
,
'11'
,
'2023-07-11 10:57:57'
,
'2023-07-11 10:58:02'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`value`
,
`sort`
,
`description`
,
`category_id`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'21'
,
'0'
,
'elder.marriage.yes'
,
'已婚'
,
'1'
,
0
,
''
,
'11'
,
'2023-07-11 10:57:57'
,
'2023-07-11 10:58:02'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`value`
,
`sort`
,
`description`
,
`category_id`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'3'
,
'0'
,
'elder.socialRelation.children'
,
'子女'
,
'1'
,
0
,
''
,
'3'
,
'2023-07-11 10:57:57'
,
'2023-07-11 10:58:02'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`value`
,
`sort`
,
`description`
,
`category_id`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'4'
,
'0'
,
'elder.elderType.single'
,
'失独老人'
,
'1'
,
0
,
''
,
'4'
,
'2023-07-11 10:57:57'
,
'2023-07-11 10:58:02'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`value`
,
`sort`
,
`description`
,
`category_id`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'5'
,
'0'
,
'elder.illness.heartDisease'
,
'心脏病'
,
'1'
,
0
,
''
,
'5'
,
'2023-07-11 10:57:57'
,
'2023-07-11 10:58:02'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`value`
,
`sort`
,
`description`
,
`category_id`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'6'
,
'0'
,
'elder.foodProhibition.avoidSpiciness'
,
'忌辛辣'
,
'1'
,
0
,
''
,
'6'
,
'2023-07-11 10:57:57'
,
'2023-07-11 10:58:02'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`value`
,
`sort`
,
`description`
,
`category_id`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'7'
,
'0'
,
'elder.hobbies.growFlowers'
,
'养花'
,
'1'
,
0
,
''
,
'7'
,
'2023-07-11 10:57:57'
,
'2023-07-11 10:58:02'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`value`
,
`sort`
,
`description`
,
`category_id`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'8'
,
'0'
,
'elder.education.seniorMiddleSchool'
,
'高中'
,
'1'
,
0
,
''
,
'8'
,
'2023-07-11 10:57:57'
,
'2023-07-11 10:58:02'
,
'0'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`sys_config`
(
`id`
,
`tenant_id`
,
`code`
,
`name`
,
`value`
,
`sort`
,
`description`
,
`category_id`
,
`create_date`
,
`update_date`
,
`del_flag`
,
`create_by`
,
`update_by`
,
`eng_name`
)
VALUES
(
'9'
,
'0'
,
'elder.belief.none'
,
'无'
,
'1'
,
0
,
''
,
'9'
,
'2023-07-11 10:57:57'
,
'2023-07-11 10:58:02'
,
'0'
,
NULL
,
NULL
,
NULL
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment