HTTP(S)操控新增字典修改
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
#添加HTTP(s)操控日志 pinningst字段的字典内容
|
||||
INSERT INTO `sys_data_dictionary_name` ( `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ( 'HTTP(S)操控日志', 'PINNING', 'pinning状态', 'user:ceiec,2019-05-31 10:02:51edit', '2019-05-31 10:02:13', '2019-05-31 10:02:51', '1');
|
||||
#sys_data_dictionary_item 表中的dictionary_id 为 sys_data_dictionary_name 表生成的主键ID的值
|
||||
INSERT INTO `sys_data_dictionary_item` ( `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`) VALUES ('4143', '0', 'not pinning', '', '1', '1', '1');
|
||||
INSERT INTO `sys_data_dictionary_item` ( `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`) VALUES ('4144', '1', 'pinning', '', '2', '1', '1');
|
||||
INSERT INTO `sys_data_dictionary_item` ( `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`) VALUES ('4145', '2', 'maybe pinning', '', '3', '1', '1');
|
||||
INSERT into sys_data_dictionary_item(item_code,item_value,item_desc,item_sort,`status`,type,dictionary_id)
|
||||
VALUES('0', 'not pinning', '', 1, 1, 1,(SELECT id FROM sys_data_dictionary_name WHERE mark='PINNING')),
|
||||
('1', 'pinning', '', 2, 1, 1,(SELECT id FROM sys_data_dictionary_name WHERE mark='PINNING')),
|
||||
('2', 'maybe pinning', '', 3, 1, 1,(SELECT id FROM sys_data_dictionary_name WHERE mark='PINNING'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user