From fb2d8734f954572c3139057899b85c385a387c3f Mon Sep 17 00:00:00 2001 From: gazebo Date: Sun, 11 Aug 2019 18:21:40 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E5=B0=9D=E8=AF=95=E5=A4=84=E7=90=86?= =?UTF-8?q?=E4=BA=AC=E4=B8=9C=E5=94=AE=E5=90=8ESKU=E6=98=AF=E9=9D=9E?= =?UTF-8?q?=E6=AD=A3=E5=93=81=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/jd/order_afs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/partner/purchase/jd/order_afs.go b/business/partner/purchase/jd/order_afs.go index 459a3027a..0c47e85ee 100644 --- a/business/partner/purchase/jd/order_afs.go +++ b/business/partner/purchase/jd/order_afs.go @@ -195,7 +195,7 @@ func (c *PurchaseHandler) ConfirmReceivedReturnGoods(ctx *jxcontext.Context, ord func orderSkus2AfsSkus(refundSkuList []*model.OrderSku) (list []*jdapi.VenderAfsSkuDTO) { for _, v := range refundSkuList { actType := int(utils.Str2Int64WithDefault(v.StoreSubName, 0)) - if !(actType == jdapi.PromotionTypeOverflowGiveGift || actType == jdapi.PromotionTypeBuyGiveGift) { + if actType == 0 { //!(actType == jdapi.PromotionTypeOverflowGiveGift || actType == jdapi.PromotionTypeBuyGiveGift) { actType = 1 } list = append(list, &jdapi.VenderAfsSkuDTO{