/// <summary> /// 根据交易单的流水号来获取交易信息 /// </summary> /// <param name="tradeno">交易单的流水号</param> /// <returns>交易信息</returns> public static Goodstradeloginfo GetGoodsTradeLogInfo(string tradeNo) { return(DTO.GetGoodsTradeLogInfo(DbProvider.GetInstance().GetGoodsTradeLogByTradeNo(tradeNo))); }
/// <summary> /// 获取指定商品交易日志id的交易信息 /// </summary> /// <param name="goodstradelogid">商品交易日志id</param> /// <returns>交易信息</returns> public static Goodstradeloginfo GetGoodsTradeLogInfo(int goodsTradeLogId) { return(DTO.GetGoodsTradeLogInfo(DbProvider.GetInstance().GetGoodsTradeLogByID(goodsTradeLogId))); }