/// <summary>
        /// 商品列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        public PageResult Do_GoodsList(BaseApi baseApi)
        {
            PageResult     pageResult     = new PageResult();
            ActiveDao      activeDao      = new ActiveDao();
            string         shopId         = Util.GetUserShopId(baseApi.token);
            GoodsListParam goodsListParam = JsonConvert.DeserializeObject <GoodsListParam>(baseApi.param.ToString());

            if (goodsListParam.current == 0)
            {
                goodsListParam.current = 1;
            }
            if (goodsListParam.pageSize == 0)
            {
                activeDao.DeleteActiveGoods(shopId);
                goodsListParam.pageSize = 10;
            }
            if (goodsListParam.goodsName != null && goodsListParam.goodsName != "")
            {
                goodsListParam.goodsName = " and goods_name  like '%" + goodsListParam.goodsName + "%'";
            }
            else
            {
                goodsListParam.goodsName = "";
            }
            pageResult = activeDao.SelectGoods(goodsListParam, shopId);
            return(pageResult);
        }
        /// <summary>
        /// 确认选择商品接口
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        public PageResult Do_MakeSureGoodsList(BaseApi baseApi)
        {
            GoodsListParam goodsListParam = JsonConvert.DeserializeObject <GoodsListParam>(baseApi.param.ToString());

            if (goodsListParam.current == 0)
            {
                goodsListParam.current = 1;
            }
            if (goodsListParam.pageSize == 0)
            {
                goodsListParam.pageSize = 10;
            }
            PageResult pageResult = new PageResult();
            string     shopId     = Util.GetUserShopId(baseApi.token);
            ActiveDao  activeDao  = new ActiveDao();
            string     barcodes   = activeDao.SelectActiveGoods(shopId);

            if (barcodes != "")
            {
                pageResult = activeDao.SelectGoods(barcodes, goodsListParam);
                //activeDao.DeleteActiveGoods(shopId);
            }
            return(pageResult);
        }