SELECT id, name, code, path, type, status, is_show, platforms FROM yz_system_modules WHERE code IN ('bianjiegongju', 'crm'); UPDATE yz_system_modules SET platforms = JSON_ARRAY('web', 'app'), update_time = NOW() WHERE code IN ('bianjiegongju', 'crm') AND delete_time IS NULL; SELECT id, name, code, path, type, status, is_show, platforms FROM yz_system_modules WHERE code IN ('bianjiegongju', 'crm'); SELECT id, name, code, path, platforms FROM yz_system_modules WHERE delete_time IS NULL AND platforms IS NOT NULL AND platforms <> '' AND code NOT IN ('bianjiegongju', 'crm');