set _apps=(select GROUP_CONCAT(id separator '][') from jsh_app where tenant_id=-1 and ifnull(delete_Flag,'0') !='1');
-- 获取功能列表
set _functions=(select GROUP_CONCAT(id separator '][') from jsh_functions where tenant_id=-1 and ifnull(delete_Flag,'0') !='1');
-- 获取功能按钮列表
set _functionBtns=(select GROUP_CONCAT((CONCAT('"funId":"',id,'","btnStr":"',PushBtn,'"')) separator '},{') from jsh_functions where 1=1 and PushBtn is not null and tenant_id=-1 and ifnull(delete_Flag,'0') !='1');
delete from jsh_userbusiness where Type='RoleAPP' and KeyId=10 and tenant_id=-1;
delete from jsh_userbusiness where Type='RoleFunctions' and KeyId=10 and tenant_id=-1;