private void AddMsg(string usercode) { RecieveMsgModel recieveMsgModel = new RecieveMsgModel(); recieveMsgModel.v_yhdm = usercode; recieveMsgModel.TheOrder = new decimal?(1m); string text; if (this.RBLRoleType.SelectedValue == "-2") { text = "流程驳回"; } else { if (this.RBLRoleType.SelectedValue == "1") { text = "流程通过"; } else { text = "流程重报"; } } DataTable instanceMain = FlowAuditAction.GetInstanceMain(this.InstanceID); string businessClassName = FlowAuditAction.GetBusinessClassName(instanceMain.Rows[0]["businesscode"].ToString(), instanceMain.Rows[0]["businessclass"].ToString()); RecieveMsgModel expr_B1 = recieveMsgModel; string lookUrl = expr_B1.LookUrl; expr_B1.LookUrl = string.Concat(new string[] { lookUrl, businessClassName, text, "提醒", this.txtContent.Value }); recieveMsgModel.InstanceCode = this.InstanceCode; recieveMsgModel.RecieveDate = System.DateTime.Now; recieveMsgModel.RecieveUserCode = this.Session["yhdm"].ToString(); this.rma.Add(recieveMsgModel); }