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