func (this *saleRep) GetSale(partnerId int) sale.ISale { v, ok := this._cache[partnerId] if !ok { v = saleImpl.NewSale(partnerId, this, this._goodsRep, this._tagRep, this._promRep) this._cache[partnerId] = v } return v }
func (this *saleRep) GetSale(partnerId int) sale.ISale { v, ok := this.cache[partnerId] if !ok { v = saleImpl.NewSale(partnerId, this) this.cache[partnerId] = v } return v }