/// <summary>
        /// 获取指定分类和条件下的商品列表集合
        /// </summary>
        /// <param name="categoryid">商品分类</param>
        /// <param name="pagesize">页面大小</param>
        /// <param name="pageindex">当前页</param>
        /// <param name="condition">条件</param>
        /// <param name="orderby">排序字段</param>
        /// <param name="ascdesc">排序方式(0:升序, 1:降序)</param>
        /// <returns></returns>
        public static GoodsleavewordinfoCollection GetGoodsLeaveWord(int goodsId, int pageSize, int pageIndex, string orderBy, int ascDesc)
        {
            GoodsleavewordinfoCollection coll = new GoodsleavewordinfoCollection();

            if (pageIndex <= 0)
            {
                return(coll);
            }

            return(DTO.GetGoodsLeaveWordInfoList(DbProvider.GetInstance().GetGoodsLeaveWordByGid(goodsId, pageSize, pageIndex, orderBy, ascDesc)));
        }
 /// <summary>
 /// 获取指定商品交易日志id的留言信息
 /// </summary>
 /// <param name="goodstradelogid">商品交易日志id</param>
 /// <returns></returns>
 public static GoodsleavewordinfoCollection GetLeaveWordList(int goodsTradeLogId)
 {
     return(DTO.GetGoodsLeaveWordInfoList(DbProvider.GetInstance().GetGoodsLeaveWordListByTradeLogId(goodsTradeLogId)));
 }