提交当前本机整理版本
This commit is contained in:
@@ -244,4 +244,33 @@ namespace Lskj.PubUserTomodule
|
||||
MessageUtil.Show("请选择需要删除的角色");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 执行保存角色权限时候的存储过程
|
||||
/// </summary>
|
||||
/// <param name="modid"></param>
|
||||
/// <param name="tagid"></param>
|
||||
/// <param name="mid"></param>
|
||||
/// <returns></returns>
|
||||
public int saveRoledata(int roleid)
|
||||
{
|
||||
SqlParameter pMsg = new SqlParameter("@msg", SqlDbType.VarChar, 2000);
|
||||
pMsg.Direction = ParameterDirection.Output;
|
||||
SqlParameter returnValue = new SqlParameter("@return", SqlDbType.Int, 4);
|
||||
returnValue.Direction = ParameterDirection.ReturnValue;
|
||||
SqlParameter[] param =
|
||||
{
|
||||
new SqlParameter("@roleid ",SqlDbType.VarChar,20),
|
||||
pMsg,
|
||||
returnValue
|
||||
};
|
||||
param[0].Value = roleid;
|
||||
BaseImpl.ExecProcedure("p_SystemSetRoleUserPurview", param);
|
||||
return Convert.ToInt32(returnValue.Value.ToString());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user