fix: paste production task set SQL into the production sync script

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-08-18 15:33:08 +08:00
1 parent 9ac29e6ad7
commit d850fd0027
2 files changed
+358 -1

No files matched your search

@@ -264,6 +264,9 @@ INNER JOIN (
UNION
SELECT DISTINCT rm3.role_id AS role_id
FROM sys_role_menu rm3
INNER JOIN sys_menu m3
ON m3.id COLLATE utf8mb4_unicode_ci = rm3.menu_id COLLATE utf8mb4_unicode_ci
AND m3.del_flag = 0
WHERE rm3.menu_id COLLATE utf8mb4_unicode_ci = @wo_menu_id
AND rm3.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm3.del_flag = 0
@@ -324,6 +327,9 @@ FROM (
UNION
SELECT DISTINCT rm3.role_id AS role_id
FROM sys_role_menu rm3
INNER JOIN sys_menu m3
ON m3.id COLLATE utf8mb4_unicode_ci = rm3.menu_id COLLATE utf8mb4_unicode_ci
AND m3.del_flag = 0
WHERE rm3.menu_id COLLATE utf8mb4_unicode_ci = @wo_menu_id
AND rm3.tenant_no COLLATE utf8mb4_unicode_ci = @tenant_no
AND rm3.del_flag = 0