diff options
| author | shizhendong <[email protected]> | 2022-09-07 17:56:21 +0800 |
|---|---|---|
| committer | shizhendong <[email protected]> | 2022-09-07 17:56:21 +0800 |
| commit | d968a06ff9e3637c90242dbbfbb00e0971293b30 (patch) | |
| tree | 02dbaf3b7246f5c49f1c36a8d80f3b669a2001e9 | |
| parent | ec287bc35e1c2e9dd1dc496d31ab0a763f3e02aa (diff) | |
fix: 修改 sql 语句条件错误问题
| -rw-r--r-- | nz-admin/src/main/resources/db/R__AZ_sys_dict.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nz-admin/src/main/resources/db/R__AZ_sys_dict.sql b/nz-admin/src/main/resources/db/R__AZ_sys_dict.sql index d17b90e2..d1a2b75d 100644 --- a/nz-admin/src/main/resources/db/R__AZ_sys_dict.sql +++ b/nz-admin/src/main/resources/db/R__AZ_sys_dict.sql @@ -10,7 +10,7 @@ REPLACE INTO `sys_dict`(`id`, `name`, `type`, `code`, `value`, `i18n_code`, `ord REPLACE INTO `sys_dict`(`id`, `name`, `type`, `code`, `value`, `i18n_code`, `order_num`, `remark`, `del_flag`, `operator`, `op_time`, `seq`) VALUES (null, '图表数据源', 'chartDatasource', 3, 'system', '', 0, '系统数据源', 0, 1, '2021-11-27 10:56:27', NULL); REPLACE INTO `sys_dict`(`id`, `name`, `type`, `code`, `value`, `i18n_code`, `order_num`, `remark`, `del_flag`, `operator`, `op_time`, `seq`) VALUES (null, '图表数据源', 'chartDatasource', 4, 'misc', '', 0, 'misc数据源', 0, 1, '2021-11-27 10:56:27', NULL); -Delete from sys_dict where code = 'chartType'; +Delete from sys_dict where type = 'chartType'; REPLACE INTO `sys_dict`(`id`, `name`, `type`, `code`, `value`, `i18n_code`, `order_num`, `remark`, `del_flag`, `operator`, `op_time`, `seq`) VALUES (NULL, '图表类型', 'chartType', 8, 'text', 'dashboard.panel.chartForm.typeVal.text.label', 8, '告警', 0, 1, '2020-05-27 17:50:33', NULL); REPLACE INTO `sys_dict`(`id`, `name`, `type`, `code`, `value`, `i18n_code`, `order_num`, `remark`, `del_flag`, `operator`, `op_time`, `seq`) VALUES (NULL, '图表类型', 'chartType', 9, 'pie', 'dashboard.panel.chartForm.typeVal.pie.label', 9, '饼图', 0, 1, '2021-02-05 10:57:33', NULL); |
