Exemple #1
0
        void ExeAudit(string auditResult)
        {
            if (BeforePassEvent != null)
            {
                if (!BeforePassEvent())
                {
                    return;
                }
            }
            WF_AuditRecordLogic logicWF  = new WF_AuditRecordLogic(this);
            WCFAddUpdateResult  rstAudit = logicWF.AuditBill(new Entity.UserModel.WF.WF_AuditRecordParam()
            {
                SourceTableEngName = _tableName,
                SourceBillGuid     = _sourceGuidKey,
                SourceBillNo       = _sourceBillNo,
                AuditResult        = auditResult,
                AuditRemark        = txtCheckRemark.Text
            });

            if (rstAudit.Key > 0)
            {
                if (AfterPassEvent != null)
                {
                    AfterPassEvent();
                }
                this.Close();
            }
        }