From 0d7f167b3de255a9b3343b6968132cb8ce0bfef7 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 13 九月 2024 11:03:10 +0800 Subject: [PATCH] # --- zy-acs-framework/src/main/resources/templates/react-admin/Sql.txt | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/zy-acs-framework/src/main/resources/templates/react-admin/Sql.txt b/zy-acs-framework/src/main/resources/templates/react-admin/Sql.txt index df29889..9954776 100644 --- a/zy-acs-framework/src/main/resources/templates/react-admin/Sql.txt +++ b/zy-acs-framework/src/main/resources/templates/react-admin/Sql.txt @@ -2,10 +2,10 @@ -- mysql insert into `sys_menu` ( `name`, `parent_id`, `route`, `component`, `type`, `sort`, `tenant_id`, `status`) values ( 'menu.@{SIMPLEENTITYNAME}', '0', '/@{ITEMNAME}/@{SIMPLEENTITYNAME}', '@{SIMPLEENTITYNAME}', '0' , '0', '1' , '1'); -insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `host_id`, `status`) values ( 'Query @{TABLEDESC}', '', '1', '@{ITEMNAME}:@{SIMPLEENTITYNAME}:list', '0', '1', '1'); -insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `host_id`, `status`) values ( 'Create @{TABLEDESC}', '', '1', '@{ITEMNAME}:@{SIMPLEENTITYNAME}:save', '1', '1', '1'); -insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `host_id`, `status`) values ( 'Update @{TABLEDESC}', '', '1', '@{ITEMNAME}:@{SIMPLEENTITYNAME}:update', '2', '1', '1'); -insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `host_id`, `status`) values ( 'Delete @{TABLEDESC}', '', '1', '@{ITEMNAME}:@{SIMPLEENTITYNAME}:remove', '3', '1', '1'); +insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query @{TABLEDESC}', '', '1', '@{ITEMNAME}:@{SIMPLEENTITYNAME}:list', '0', '1', '1'); +insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create @{TABLEDESC}', '', '1', '@{ITEMNAME}:@{SIMPLEENTITYNAME}:save', '1', '1', '1'); +insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update @{TABLEDESC}', '', '1', '@{ITEMNAME}:@{SIMPLEENTITYNAME}:update', '2', '1', '1'); +insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete @{TABLEDESC}', '', '1', '@{ITEMNAME}:@{SIMPLEENTITYNAME}:remove', '3', '1', '1'); -- locale field @{SIMPLEENTITYNAME}: @{REACTLOCALECONTENT} -- Gitblit v1.9.1