This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nms-nmsweb/sql/sqlupdate(20131021-20131021).sql
2018-09-27 16:21:05 +08:00

29 lines
2.2 KiB
MySQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--
insert into type_table (ID, SHOW_NUM, TYPE_STATE, TYPE_DESC, TYPE_NAME, TYPE_IDENTITY)
values (seq_type_table.nextval, 1, 0, '告警信息列表显示的告警级别(告警信息列表显示的均为紧急的告警)', '告警信息显示的级别', 'detecWarningLevel');
--option_table表
insert into option_table (ID, TYPE_IDENTITY, TYPE_CODE, TYPE_VALUE, SHOW_NUM, TYPE_STATE, DELAY_TIME)
values (seq_option_table.nextval, 'detecWarningLevel', '1', '1级告警', 1, 0, '0');
insert into option_table (ID, TYPE_IDENTITY, TYPE_CODE, TYPE_VALUE, SHOW_NUM, TYPE_STATE, DELAY_TIME)
values (seq_option_table.nextval, 'detecWarningLevel', '2', '2级告警', 2, 1, '0');
insert into option_table (ID, TYPE_IDENTITY, TYPE_CODE, TYPE_VALUE, SHOW_NUM, TYPE_STATE, DELAY_TIME)
values (seq_option_table.nextval, 'detecWarningLevel', '3', '3级告警', 3, 1, '0');
insert into option_table (ID, TYPE_IDENTITY, TYPE_CODE, TYPE_VALUE, SHOW_NUM, TYPE_STATE, DELAY_TIME)
values (seq_option_table.nextval, 'detecWarningLevel', '4', '4级告警', 4, 1, '0');
insert into option_table (ID, TYPE_IDENTITY, TYPE_CODE, TYPE_VALUE, SHOW_NUM, TYPE_STATE, DELAY_TIME)
values (seq_option_table.nextval, 'detecWarningLevel', '5', '5级告警', 5, 1, '0');
--1.url配置为/detection/detectionWarning.do?action=queryAllConfigLevel
--2.1NC挂掉DC异常1NCweb5
--3.1):1NOequals
--4.41NC正常45;;;
--5.DB中改