1. 修复 infra 单元测试
2. 补全业务附件菜单脚本
This commit is contained in:
chenbowen
2025-08-01 09:35:26 +08:00
parent c2195ee3cf
commit 3e78093885
2 changed files with 55 additions and 1 deletions

View File

@@ -35,4 +35,57 @@ COMMENT ON COLUMN infra_bsn_file.create_time IS '创建时间';
COMMENT ON COLUMN infra_bsn_file.updater IS '更新者';
COMMENT ON COLUMN infra_bsn_file.update_time IS '最后更新时间';
COMMENT ON COLUMN infra_bsn_file.deleted IS '是否删除';
COMMENT ON COLUMN infra_bsn_file.tenant_id IS '租户编号';
COMMENT ON COLUMN infra_bsn_file.tenant_id IS '租户编号';
-- 业务菜单 sql
-- 菜单 SQL
INSERT INTO system_menu(
id, name, permission, type, sort, parent_id,
path, icon, component, status, component_name
)
VALUES (
'1948328245618204673', '业务附件关联管理', '', 2, 0, 1243,
'business-file', '', 'infra/businessfile/index', 0, 'BusinessFile'
);
-- 按钮 SQL
INSERT INTO system_menu(
id, name, permission, type, sort, parent_id,
path, icon, component, status
)
VALUES (
'1951092724040097793', '业务附件关联查询', 'infra:business-file:query', 3, 1, 1948328245618204673,
'', '', '', 0
);
INSERT INTO system_menu(
id, name, permission, type, sort, parent_id,
path, icon, component, status
)
VALUES (
'1951092724040097794', '业务附件关联创建', 'infra:business-file:create', 3, 2, 1948328245618204673,
'', '', '', 0
);
INSERT INTO system_menu(
id, name, permission, type, sort, parent_id,
path, icon, component, status
)
VALUES (
'1951092724040097795', '业务附件关联更新', 'infra:business-file:update', 3, 3, 1948328245618204673,
'', '', '', 0
);
INSERT INTO system_menu(
id, name, permission, type, sort, parent_id,
path, icon, component, status
)
VALUES (
'1951092724040097796', '业务附件关联删除', 'infra:business-file:delete', 3, 4, 1948328245618204673,
'', '', '', 0
);
INSERT INTO system_menu(
id, name, permission, type, sort, parent_id,
path, icon, component, status
)
VALUES (
'1951092724040097797', '业务附件关联导出', 'infra:business-file:export', 3, 5, 1948328245618204673,
'', '', '', 0
);