| @ -0,0 +1,43 @@ | |||||
| using System; | |||||
| using System.Collections.Generic; | |||||
| using System.Linq; | |||||
| using System.Text; | |||||
| using BWP.B3Frameworks.BO.NamedValueTemplate; | |||||
| using BWP.B3Sale.BL; | |||||
| using BWP.B3Sale.BO; | |||||
| using Forks.EnterpriseServices.BusinessInterfaces; | |||||
| using Forks.EnterpriseServices.DomainObjects2; | |||||
| using Forks.EnterpriseServices.DomainObjects2.DQuery; | |||||
| using Forks.EnterpriseServices.SqlDoms; | |||||
| using TSingSoft.WebPluginFramework.BIPlugins.BLEvents; | |||||
| namespace BWP.B3_YunKen.BLActions | |||||
| { | |||||
| public class CusAcceptUpdateDateAction : IBLMethodAction | |||||
| { | |||||
| public string Description | |||||
| { | |||||
| get { return "【客户验收单】审核更新验收日期、发货日期"; } | |||||
| } | |||||
| public void Execute(Forks.EnterpriseServices.BusinessInterfaces.IDmoContext context, object customer, object parameter) | |||||
| { | |||||
| var dmo = customer as CustomerAccept; | |||||
| if (dmo == null) | |||||
| return; | |||||
| dmo.BillDate = dmo.CreateTime; | |||||
| dmo.LoadTime = dmo.CheckTime; | |||||
| context.Session.Update(dmo); | |||||
| } | |||||
| public IList<string> Features | |||||
| { | |||||
| get { return new List<string>(); } | |||||
| } | |||||
| public string Name | |||||
| { | |||||
| get { return "B3_YunKen.【客户验收单】审核更新验收日期、发货日期"; } | |||||
| } | |||||
| } | |||||
| } | |||||