// 保存会员价 func (this *tmpGoodsImpl) SaveLevelPrice(v *goods.MemberPrice) (int, error) { v.GoodsId = this.GetDomainId() if this._value.SalePrice == v.Price { if v.Id > 0 { this._goodsRep.RemoveGoodsLevelPrice(v.Id) } return -1, nil } return this._goodsRep.SaveGoodsLevelPrice(v) }