/// <summary>
        /// 新增/修改角色
        /// </summary>
        /// <param name="roleinfo">角色实体类</param>
        /// <returns>返回状态对象</returns>
        public dynamic EditRole(Entity.ROLEINFO roleinfo)
        {
            var  bn   = new ROLEINFO_BN();
            bool isOk = string.IsNullOrWhiteSpace(roleinfo.F_ROLECODE)
                ? bn.AddRoleMain(roleinfo)
                : bn.EditRoleMain(roleinfo);

            return(JsonConvert.DeserializeObject <dynamic>(isOk
                ? "{\"status\":true,\"msg\":\"\"}"
                : "{\"status\":false,\"msg\":\"\"}"));
        }