// 获取货品描述 func (this *saleService) GetItemDescriptionByGoodsId(merchantId, goodsId int) string { sl := this._rep.GetSale(merchantId) var goods sale.IGoods = sl.GoodsManager().GetGoods(goodsId) return goods.GetItem().GetValue().Description }