From b448f6996cba32de7a10cc6675bfb2216709c652 Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 10 Dec 2019 17:52:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=98=E5=9B=9E=E8=B0=83=E6=B4=BB=E5=8A=A8?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E4=BF=AE=E5=A4=8D=E6=B2=A1=E6=9C=89=E4=BF=9D?= =?UTF-8?q?=E5=AD=98VendorOrgCode=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/act/act.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/business/jxstore/act/act.go b/business/jxstore/act/act.go index fd11e3907..058f83fc7 100644 --- a/business/jxstore/act/act.go +++ b/business/jxstore/act/act.go @@ -532,9 +532,10 @@ func (a *ActManager) CreateActFromVendor(ctx *jxcontext.Context, act2 *model.Act func createActFromVendor(ctx *jxcontext.Context, db *dao.DaoDB, act2 *model.Act2, actStoreSku []*model.ActStoreSku2) (actID int, err error) { actMap := &model.ActMap{ - VendorID: act2.VendorID, - VendorActID: act2.VendorActID, - SyncStatus: 0, + VendorID: act2.VendorID, + VendorOrgCode: act2.VendorOrgCode, + VendorActID: act2.VendorActID, + SyncStatus: 0, } dao.WrapAddIDCULDEntity(actMap, ctx.GetUserName()) if actMap.VendorActID != "" {