提交
This commit is contained in:
1 parent
b9ff9c9d67
commit
44749ae716
87 files changed
+35089
-21918
No files matched your search
@@ -57,7 +57,8 @@ INSERT INTO `sys_role_menu` (
|
||||
`create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`
|
||||
)
|
||||
SELECT
|
||||
REPLACE(UUID(), '-', ''),
|
||||
-- 勿用 UUID():同句多行 INSERT 易撞主键;按 role+menu 生成确定性 id
|
||||
MD5(CONCAT(`role_id`, '#PL_PLAN_CONTRACT')),
|
||||
`role_id`,
|
||||
'PL_PLAN_CONTRACT',
|
||||
`tenant_no`,
|
||||
@@ -85,7 +86,7 @@ INSERT INTO `sys_role_menu` (
|
||||
`create_by`, `create_dept_id`, `create_time`, `update_by`, `update_time`, `del_flag`
|
||||
)
|
||||
SELECT
|
||||
REPLACE(UUID(), '-', ''),
|
||||
MD5(CONCAT(`role_id`, '#PL_PLAN_CONTRACT_UPD')),
|
||||
`role_id`,
|
||||
'PL_PLAN_CONTRACT_UPD',
|
||||
`tenant_no`,
|
||||
|
||||
Reference in new issue
Block a user