From 0034be1bef1b29f5387b46d922c0463c364e832d Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 4 Nov 2019 17:14:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E7=AE=97=E6=B4=BB=E5=8A=A8=E4=B8=8D?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=BE=85=E5=88=9B=E5=BB=BA=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/act/act.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/business/jxstore/act/act.go b/business/jxstore/act/act.go index 8b9d77067..d84c4a540 100644 --- a/business/jxstore/act/act.go +++ b/business/jxstore/act/act.go @@ -144,6 +144,7 @@ func ActStoreSkuParam2Model(ctx *jxcontext.Context, db *dao.DaoDB, act *model.Ac } if act.Type == model.ActSkuFake { actSkuMap.ActualActPrice = 0 + actSkuMap.SyncStatus = 0 } else { if v.ActPrice != 0 { actSkuMap.ActualActPrice = v.ActPrice @@ -410,6 +411,9 @@ func CreateAct(ctx *jxcontext.Context, act *model.Act, vendorIDs []int, actRules SyncStatus: model.SyncFlagNewMask, } + if act.Type == model.ActSkuFake { + actMap.SyncStatus = 0 + } dao.WrapAddIDCULDEntity(actMap, ctx.GetUserName()) actMapList = append(actMapList, actMap) }