Skip to content

Commit 022da8b

Browse files
committed
Fix the pgsql script in dict plugin
1 parent 5754c54 commit 022da8b

File tree

1 file changed

+48
-48
lines changed
  • backend/plugin/dict/sql/postgresql

1 file changed

+48
-48
lines changed
Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
11
insert into sys_dict_type (id, name, code, remark, created_time, updated_time)
22
values
3-
(2048602512340156416, '通用状态', 'sys_status', '系统通用状态:1/0', now(), null),
4-
(2048602512369516544, '通用开关', 'sys_choose', '系统通用开关:true/false', now(), null),
5-
(2048602512432431104, '菜单类型', 'sys_menu_type', '系统菜单类型', now(), null),
6-
(2048602512495345664, '登录状态', 'sys_login_status', '用户登录状态', now(), null),
7-
(2048602512549871616, '数据规则运算符', 'sys_data_rule_operator', '数据权限规则运算符', now(), null),
8-
(2048602512616980480, '数据规则表达式', 'sys_data_rule_expression', '数据权限规则表达式', now(), null),
9-
(2048602512692477952, '前端参数配置', 'sys_frontend_config', '前端参数配置类型', now(), null),
10-
(2048602512755392512, '任务策略类型', 'task_strategy_type', '定时任务策略类型', now(), null),
11-
(2048602512818307072, '任务周期类型', 'task_period_type', '定时任务周期类型', now(), null),
12-
(2048602512881221632, '通知公告', 'notice', '通知类型', now(), null),
13-
(2048602512948330496, '在线状态', 'user_online_status', '用户在线状态', now(), null),
14-
(2048602513015439360, '插件类型', 'sys_plugin_type', '插件类型', now(), null);
3+
(1, '通用状态', 'sys_status', '系统通用状态:1/0', now(), null),
4+
(2, '通用开关', 'sys_choose', '系统通用开关:true/false', now(), null),
5+
(3, '菜单类型', 'sys_menu_type', '系统菜单类型', now(), null),
6+
(4, '登录状态', 'sys_login_status', '用户登录状态', now(), null),
7+
(5, '数据规则运算符', 'sys_data_rule_operator', '数据权限规则运算符', now(), null),
8+
(6, '数据规则表达式', 'sys_data_rule_expression', '数据权限规则表达式', now(), null),
9+
(7, '前端参数配置', 'sys_frontend_config', '前端参数配置类型', now(), null),
10+
(8, '任务策略类型', 'task_strategy_type', '定时任务策略类型', now(), null),
11+
(9, '任务周期类型', 'task_period_type', '定时任务周期类型', now(), null),
12+
(10, '通知公告', 'notice', '通知类型', now(), null),
13+
(11, '在线状态', 'user_online_status', '用户在线状态', now(), null),
14+
(12, '插件类型', 'sys_plugin_type', '插件类型', now(), null);
1515

1616
insert into sys_dict_data (id, type_code, label, value, color, sort, status, remark, type_id, created_time, updated_time)
1717
values
18-
(2048602513078353920, 'sys_status', '停用', '0', 'red', 1, 1, '停用状态', 2048602512340156416, now(), null),
19-
(2048602513128685568, 'sys_status', '正常', '1', 'green', 2, 1, '正常状态', 2048602512340156416, now(), null),
20-
(2048602513174822912, 'sys_choose', '关闭', 'false', 'error', 1, 1, '关闭状态', 2048602512369516544, now(), null),
21-
(2048602513241931776, 'sys_choose', '开启', 'true', 'success', 2, 1, '开启状态', 2048602512369516544, now(), null),
22-
(2048602513292263424, 'sys_menu_type', '目录', '0', 'orange', 1, 1, '菜单目录', 2048602512432431104, now(), null),
23-
(2048602513359372288, 'sys_menu_type', '菜单', '1', 'default', 2, 1, '普通菜单', 2048602512432431104, now(), null),
24-
(2048602513422286848, 'sys_menu_type', '按钮', '2', 'processing', 3, 1, '菜单按钮', 2048602512432431104, now(), null),
25-
(2048602513476812800, 'sys_menu_type', '内嵌', '3', 'cyan', 4, 1, '内嵌页面', 2048602512432431104, now(), null),
26-
(2048602513543921664, 'sys_menu_type', '外链', '4', 'purple', 5, 1, '外部链接', 2048602512432431104, now(), null),
27-
(2048602513590059008, 'sys_login_status', '失败', '0', 'error', 1, 1, '登录失败状态', 2048602512495345664, now(), null),
28-
(2048602513657167872, 'sys_login_status', '成功', '1', 'success', 2, 1, '登录成功状态', 2048602512495345664, now(), null),
29-
(2048602513720082432, 'sys_data_rule_operator', 'AND', '0', 'green', 1, 1, '逻辑 AND 运算符', 2048602512549871616, now(), null),
30-
(2048602513782996992, 'sys_data_rule_operator', 'OR', '1', 'gold', 2, 1, '逻辑 OR 运算符', 2048602512549871616, now(), null),
31-
(2048602513850105856, 'sys_data_rule_expression', '等于(==)', '0', 'success', 1, 1, '等于比较表达式', 2048602512616980480, now(), null),
32-
(2048602513917214720, 'sys_data_rule_expression', '不等于(!=)', '1', 'error', 2, 1, '不等于比较表达式', 2048602512616980480, now(), null),
33-
(2048602513984323584, 'sys_data_rule_expression', '大于(>)', '2', 'magenta', 3, 1, '大于比较表达式', 2048602512616980480, now(), null),
34-
(2048602514051432448, 'sys_data_rule_expression', '大于等于(>=)', '3', 'volcano', 4, 1, '大于等于比较表达式', 2048602512616980480, now(), null),
35-
(2048602514118541312, 'sys_data_rule_expression', '小于(<)', '4', 'gold', 5, 1, '小于比较表达式', 2048602512616980480, now(), null),
36-
(2048602514168872960, 'sys_data_rule_expression', '小于等于(<=)', '5', 'orange', 6, 1, '小于等于比较表达式', 2048602512616980480, now(), null),
37-
(2048602514231787520, 'sys_data_rule_expression', '包含(in)', '6', 'purple', 7, 1, '包含表达式', 2048602512616980480, now(), null),
38-
(2048602514303090688, 'sys_data_rule_expression', '不包含(not in)', '7', 'error', 8, 1, '不包含表达式', 2048602512616980480, now(), null),
39-
(2048602514366005248, 'sys_frontend_config', '', '0', 'red', 1, 1, '不是前端参数配置', 2048602512692477952, now(), null),
40-
(2048602514433114112, 'sys_frontend_config', '', '1', 'green', 2, 1, '是前端参数配置', 2048602512692477952, now(), null),
41-
(2048602514500222976, 'task_strategy_type', 'Interval(间隔)', '0', 'cyan', 1, 1, '时间间隔策略', 2048602512755392512, now(), null),
42-
(2048602514567331840, 'task_strategy_type', 'Crontab(计划)', '1', 'purple', 2, 1, '时间表达式策略', 2048602512755392512, now(), null),
43-
(2048602514634440704, 'task_period_type', '', 'days', 'processing', 1, 1, '定时任务周期类型-天', 2048602512818307072, now(), null),
44-
(2048602514701549568, 'task_period_type', '小时', 'hours', 'magenta', 2, 1, '定时任务周期类型-小时', 2048602512818307072, now(), null),
45-
(2048602514768658432, 'task_period_type', '分钟', 'minutes', 'volcano', 3, 1, '定时任务周期类型-分钟', 2048602512818307072, now(), null),
46-
(2048602514835767296, 'task_period_type', '', 'seconds', 'gold', 4, 1, '定时任务周期类型-秒', 2048602512818307072, now(), null),
47-
(2048602514902876160, 'task_period_type', '微妙', 'microseconds', 'warning', 5, 1, '定时任务周期类型-微妙', 2048602512818307072, now(), null),
48-
(2048602514969985024, 'notice', '通知', '0', 'magenta', 1, 1, '通知类型', 2048602512881221632, now(), null),
49-
(2048602515037093888, 'notice', '公告', '1', 'purple', 2, 1, '公告类型', 2048602512881221632, now(), null),
50-
(2048602515104202752, 'user_online_status', '离线', '0', 'warning', 1, 1, '用户离线状态', 2048602512948330496, now(), null),
51-
(2048602515171311616, 'user_online_status', '在线', '1', 'success', 2, 1, '用户在线状态', 2048602512948330496, now(), null),
52-
(2048602515238420480, 'sys_plugin_type', '压缩包', '0', 'gold', 1, 1, '插件类型-压缩包', 2048602513015439360, now(), null),
53-
(2048602515305529344, 'sys_plugin_type', 'GIT', '1', 'processing', 2, 1, '插件类型-GIT', 2048602513015439360, now(), null);
18+
(1, 'sys_status', '停用', '0', 'red', 1, 1, '停用状态', 1, now(), null),
19+
(2, 'sys_status', '正常', '1', 'green', 2, 1, '正常状态', 1, now(), null),
20+
(3, 'sys_choose', '关闭', 'false', 'error', 1, 1, '关闭状态', 2, now(), null),
21+
(4, 'sys_choose', '开启', 'true', 'success', 2, 1, '开启状态', 2, now(), null),
22+
(5, 'sys_menu_type', '目录', '0', 'orange', 1, 1, '菜单目录', 3, now(), null),
23+
(6, 'sys_menu_type', '菜单', '1', 'default', 2, 1, '普通菜单', 3, now(), null),
24+
(7, 'sys_menu_type', '按钮', '2', 'processing', 3, 1, '菜单按钮', 3, now(), null),
25+
(8, 'sys_menu_type', '内嵌', '3', 'cyan', 4, 1, '内嵌页面', 3, now(), null),
26+
(9, 'sys_menu_type', '外链', '4', 'purple', 5, 1, '外部链接', 3, now(), null),
27+
(10, 'sys_login_status', '失败', '0', 'error', 1, 1, '登录失败状态', 4, now(), null),
28+
(11, 'sys_login_status', '成功', '1', 'success', 2, 1, '登录成功状态', 4, now(), null),
29+
(12, 'sys_data_rule_operator', 'AND', '0', 'green', 1, 1, '逻辑 AND 运算符', 5, now(), null),
30+
(13, 'sys_data_rule_operator', 'OR', '1', 'gold', 2, 1, '逻辑 OR 运算符', 5, now(), null),
31+
(14, 'sys_data_rule_expression', '等于(==)', '0', 'success', 1, 1, '等于比较表达式', 6, now(), null),
32+
(15, 'sys_data_rule_expression', '不等于(!=)', '1', 'error', 2, 1, '不等于比较表达式', 6, now(), null),
33+
(16, 'sys_data_rule_expression', '大于(>)', '2', 'magenta', 3, 1, '大于比较表达式', 6, now(), null),
34+
(17, 'sys_data_rule_expression', '大于等于(>=)', '3', 'volcano', 4, 1, '大于等于比较表达式', 6, now(), null),
35+
(18, 'sys_data_rule_expression', '小于(<)', '4', 'gold', 5, 1, '小于比较表达式', 6, now(), null),
36+
(19, 'sys_data_rule_expression', '小于等于(<=)', '5', 'orange', 6, 1, '小于等于比较表达式', 6, now(), null),
37+
(20, 'sys_data_rule_expression', '包含(in)', '6', 'purple', 7, 1, '包含表达式', 6, now(), null),
38+
(21, 'sys_data_rule_expression', '不包含(not in)', '7', 'error', 8, 1, '不包含表达式', 6, now(), null),
39+
(22, 'sys_frontend_config', '', '0', 'red', 1, 1, '不是前端参数配置', 7, now(), null),
40+
(23, 'sys_frontend_config', '', '1', 'green', 2, 1, '是前端参数配置', 7, now(), null),
41+
(24, 'task_strategy_type', 'Interval(间隔)', '0', 'cyan', 1, 1, '时间间隔策略', 8, now(), null),
42+
(25, 'task_strategy_type', 'Crontab(计划)', '1', 'purple', 2, 1, '时间表达式策略', 8, now(), null),
43+
(26, 'task_period_type', '', 'days', 'processing', 1, 1, '定时任务周期类型-天', 9, now(), null),
44+
(27, 'task_period_type', '小时', 'hours', 'magenta', 2, 1, '定时任务周期类型-小时', 9, now(), null),
45+
(28, 'task_period_type', '分钟', 'minutes', 'volcano', 3, 1, '定时任务周期类型-分钟', 9, now(), null),
46+
(29, 'task_period_type', '', 'seconds', 'gold', 4, 1, '定时任务周期类型-秒', 9, now(), null),
47+
(30, 'task_period_type', '微妙', 'microseconds', 'warning', 5, 1, '定时任务周期类型-微妙', 9, now(), null),
48+
(31, 'notice', '通知', '0', 'magenta', 1, 1, '通知类型', 10, now(), null),
49+
(32, 'notice', '公告', '1', 'purple', 2, 1, '公告类型', 10, now(), null),
50+
(33, 'user_online_status', '离线', '0', 'warning', 1, 1, '用户离线状态', 11, now(), null),
51+
(34, 'user_online_status', '在线', '1', 'success', 2, 1, '用户在线状态', 11, now(), null),
52+
(35, 'sys_plugin_type', '压缩包', '0', 'gold', 1, 1, '插件类型-压缩包', 12, now(), null),
53+
(36, 'sys_plugin_type', 'GIT', '1', 'processing', 2, 1, '插件类型-GIT', 12, now(), null);

0 commit comments

Comments
 (0)