/// <summary> /// 付款单付款后,更新退换货信息 /// </summary> /// <param name="sysNo">付款单号</param> /// <param name="user">操作人</param> /// <returns></returns> /// <remarks>2016-08-29 罗远康 创建</remarks> public void PaymentCompleteCallBack(int sysNo, SyUser user) { var pay = BLL.Finance.FinanceBo.Instance.GetPaymentVoucher(sysNo); if (pay != null && pay.Source == (int)FinanceStatus.付款来源类型.销售单) { RcRefundReturn Refund = GetOrderEntity(pay.SourceSysNo);//获取退款详情 if (Refund != null) { Refund.Status = 50; //改为已完成 Refund.RefundBy = user.SysNo; //付款人编号 Refund.CancelDate = DateTime.Now; Refund.LastUpdateDate = DateTime.Now; Update(Refund); } } }
/// <summary> /// 更新退款数据 /// </summary> /// <param name="entity">退换货实体</param> /// <returns></returns> /// <remarks>2016-08-26 罗远康 创建</remarks> public abstract void Update(RcRefundReturn entity);
/// <summary> /// 更新退款数据 /// </summary> /// <param name="entity">退换货实体</param> /// <returns></returns> /// <remarks>2016-08-26 罗远康 创建</remarks> /// public void Update(RcRefundReturn entity) { IRcRefundReturnDao.Instance.Update(entity); }