From 495bfd5683f507d59d9454175a8092ae9009878d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 16 May 2022 09:37:40 +0800 Subject: [PATCH] 1 --- business/model/store_sku.go | 2 +- business/partner/purchase/gomei/store_sku_other.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/business/model/store_sku.go b/business/model/store_sku.go index 3a3053347..70ab86c1d 100644 --- a/business/model/store_sku.go +++ b/business/model/store_sku.go @@ -104,7 +104,7 @@ type StoreSkuBind struct { YbID int64 `orm:"column(yb_id);index"` JdsID int64 `orm:"column(jds_id);index"` JdsWareID int64 `orm:"column(jds_ware_id)"` - GmID string `orm:"column(gm_id)"` + //GmID string `orm:"column(gm_id)"` // WscID int64 `orm:"column(wsc_id);index"` // 表示微盟skuId // WscID2 int64 `orm:"column(wsc_id2);index"` // 表示微盟goodsId diff --git a/business/partner/purchase/gomei/store_sku_other.go b/business/partner/purchase/gomei/store_sku_other.go index ec50a71bd..d15c39c4f 100644 --- a/business/partner/purchase/gomei/store_sku_other.go +++ b/business/partner/purchase/gomei/store_sku_other.go @@ -364,7 +364,7 @@ func getMainStoreVendorSkuID(mainStoreID int, skuID int) (vendorSkuID string, er ) storeSkus, err := dao.GetStoresSkusInfo(db, []int{mainStoreID}, []int{skuID}) if len(storeSkus) > 0 { - vendorSkuID = storeSkus[0].GmID + //vendorSkuID = storeSkus[0].GmID } return vendorSkuID, err }