public void FinishCallBackHandle(object sender, FinishCallEventArgs args) { if (args.ExportStatus == ExportStatus.Sucess) { ExecuteSqlProxy proxy = new ExecuteSqlProxy(); proxy.Sql = string.Format(@" update Cust_CompleteApplyBarCode set PrintedBy='{0}', PrintedOn='{1}', IsPrinted=1, PrintCount=PrintCount+1 where ID in ({2})", PDContext.Current.UserName, DateTime.Now, string.Join(",", GetPrintBarCodeIDs().ToArray())); proxy.Do(); this.Model.CompleteApplyBarCode.PageStrategy.PageBuffer.Clear(); UIRuntimeHelper.Instance.ClearCache(this.Model.CompleteApplyBarCode); this.Action.NavigateAction.Refresh(null); } }
private void OnPrintFinished_EX(object sender, FinishCallEventArgs args) { PDPrintHelper.OnPrintFinish(this, args, this.CurrentModel.FollowService.FocusedRecord); }