/* 
结束初始化 4730fc9f000005ae
反初始化   4730fc9f000006ae
*/

/* 用户直接授权 */
update t_perm_userpermdetail set fentitytypeid = 'im_init_exe' where fpermitemid in ('4730fc9f000005ae','4730fc9f000006ae') and fentitytypeid = 'im_warehousesetup';

/* 角色的权限 */
update t_perm_rolepermdetial set fentitytypeid = 'im_init_exe' where fpermitemid in ('4730fc9f000005ae','4730fc9f000006ae') and fentitytypeid = 'im_warehousesetup';

/* 禁用权限*/
update t_perm_disfunperm set fentitytypeid = 'im_init_exe' where fpermitemid in ('4730fc9f000005ae','4730fc9f000006ae') and fentitytypeid = 'im_warehousesetup';


/* 业务角色补充授权*/
update t_perm_bizroleperm set fentitytypeid = 'im_init_exe' where fpermitemid in ('4730fc9f000005ae','4730fc9f000006ae') and fentitytypeid = 'im_warehousesetup';

/* 业务角色禁用权限*/
update t_perm_bizroledisperm set fentitytypeid = 'im_init_exe' where fpermitemid in ('4730fc9f000005ae','4730fc9f000006ae') and fentitytypeid = 'im_warehousesetup';