Esempio n. 1
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     if (!base.IsPostBack && base.Request["rid"] != null)
     {
         this.RecordID      = System.Convert.ToInt32(base.Request["rid"].ToString());
         this.BusinessCode  = base.Request["bc"].ToString();
         this.BusinessClass = base.Request["bcl"].ToString();
         DataTable dataTable = FlowAuditAction.OrganigerCode(this.RecordID);
         if (dataTable.Rows.Count > 0)
         {
             this.frmPage.Attributes["src"] = string.Concat(new string[]
             {
                 "AuditViewPrint.aspx?ic=",
                 dataTable.Rows[0]["InstanceCode"].ToString(),
                 "&bc=",
                 this.BusinessCode,
                 "&bcl=",
                 this.BusinessClass
             });
         }
         PTDBSJAction pTDBSJAction = new PTDBSJAction();
         pTDBSJAction.Delete(string.Concat(new object[]
         {
             " v_lxbm = '017' and v_YHDM = '",
             this.Session["yhdm"].ToString(),
             "' and i_XGID = '",
             this.RecordID,
             "'"
         }), 1);
     }
 }
Esempio n. 2
0
 protected void MsgOrganiger()
 {
     if (FlowAuditAction.IsAuditOver(this.InstanceID))
     {
         DataTable dataTable = FlowAuditAction.OrganigerCode(this.InstanceID);
         if (dataTable.Rows.Count > 0)
         {
             this.getOrganiger(this.InstanceID.ToString(), "您发起" + dataTable.Rows[0]["BusinessClassName"].ToString() + "的流程已审核完结!", dataTable.Rows[0]["Organiger"].ToString());
         }
     }
 }