Exemplo n.º 1
0
        /// <summary>
        /// 创建订单日志
        /// </summary>
        /// <param name="log">日志</param>
        /// <returns>日志sysNo</returns>
        /// <remarks>2013-06-19 朱家宏 创建</remarks>
        public override int CreateSoTransactionLog(SoTransactionLog log)
        {
            var sysNo = Context.Insert("SoTransactionLog", log)
                        .AutoMap(o => o.SysNo)
                        .ExecuteReturnLastId <int>("SysNo");

            return(sysNo);
        }
Exemplo n.º 2
0
 /// <summary>
 /// 创建订单日志
 /// </summary>
 /// <param name="log">日志</param>
 /// <returns>日志主键</returns>
 /// <remarks>2013-06-19 朱家宏 创建</remarks>
 public abstract int CreateSoTransactionLog(SoTransactionLog log);