From 797816abd3d58745d4ee786a7923b2e9a3ec2c99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Sat, 9 May 2020 09:05:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E4=BA=AC=E4=B8=9C=E5=95=86?= =?UTF-8?q?=E5=9F=8E=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/model/dao/store.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/model/dao/store.go b/business/model/dao/store.go index ad2b11225..eff45c71f 100644 --- a/business/model/dao/store.go +++ b/business/model/dao/store.go @@ -439,6 +439,9 @@ func AddStoreCategoryMap(db *DaoDB, storeID, categoryID int, vendorID int, vendo } else if vendorID == model.VendorIDYB { storeCat.YbID = utils.Str2Int64WithDefault(vendorCategoryID, 0) storeCat.YbSyncStatus = status + } else if vendorID == model.VendorIDJDShop { + storeCat.JdsID = utils.Str2Int64WithDefault(vendorCategoryID, 0) + storeCat.JdsSyncStatus = status } else { panic("unsupported vendor") }