public void ProcessRequest(HttpContext context)
        {
            NFMT.Common.UserModel user = Utility.UserUtility.CurrentUser;

            context.Response.ContentType = "text/plain";
            int id = 0;
            int operateId = 0;

            if (!int.TryParse(context.Request.Form["id"], out id) || id <= 0)
            {
                context.Response.Write("序号错误");
                context.Response.End();
            }

            if (!int.TryParse(context.Request.Form["oi"], out operateId) || operateId <= 0)
            {
                context.Response.Write("操作错误");
                context.Response.End();
            }

            NFMT.User.BLL.RoleBLL bll = new NFMT.User.BLL.RoleBLL();
            NFMT.User.Model.Role role = new NFMT.User.Model.Role()
            {
                LastModifyId = user.EmpId,
                RoleId = id
            };

            NFMT.Common.OperateEnum operateEnum = (NFMT.Common.OperateEnum)operateId;
            NFMT.Common.ResultModel result = new NFMT.Common.ResultModel();

            switch (operateEnum)
            {
                case NFMT.Common.OperateEnum.作废:
                    result = bll.Invalid(user, role);
                    break;
                case NFMT.Common.OperateEnum.撤返:
                    result = bll.GoBack(user, role);
                    break;
                case NFMT.Common.OperateEnum.冻结:
                    result = bll.Freeze(user, role);
                    break;
                case NFMT.Common.OperateEnum.解除冻结:
                    result = bll.UnFreeze(user, role);
                    break;
            }

            context.Response.Write(result.Message);
        }