INSERT INTO permission (id, permission_code, permission_name, module)
VALUES
    (1034, 'audit.material.read', '审核端查看会议资料', 'audit')
ON DUPLICATE KEY UPDATE permission_name = VALUES(permission_name), module = VALUES(module);

INSERT INTO role_permission (id, tenant_id, role_id, permission_id)
VALUES
    (34, 1, 101, 1034),
    (35, 1, 104, 1034)
ON DUPLICATE KEY UPDATE permission_id = VALUES(permission_id);
