常用方法
常用方法
常用方法
常用方法
public static void AdjustPrePay(CustomerPrepayLog adjustInfo) { CustomerBasicInfo original = GetCustomerInfo(adjustInfo.CustomerSysNo.Value); using (ITransaction tran = TransactionManager.Create()) { //1.更新余额 CustomerDA.UpdatePrepay(adjustInfo.CustomerSysNo.Value, adjustInfo.AdjustAmount.Value); //2.记录业务日志 CustomerDA.CreatePrepayLog(adjustInfo); tran.Complete(); } }