1
This commit is contained in:
@@ -104,7 +104,7 @@ type StoreSkuBind struct {
|
|||||||
YbID int64 `orm:"column(yb_id);index"`
|
YbID int64 `orm:"column(yb_id);index"`
|
||||||
JdsID int64 `orm:"column(jds_id);index"`
|
JdsID int64 `orm:"column(jds_id);index"`
|
||||||
JdsWareID int64 `orm:"column(jds_ware_id)"`
|
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
|
// WscID int64 `orm:"column(wsc_id);index"` // 表示微盟skuId
|
||||||
// WscID2 int64 `orm:"column(wsc_id2);index"` // 表示微盟goodsId
|
// WscID2 int64 `orm:"column(wsc_id2);index"` // 表示微盟goodsId
|
||||||
|
|
||||||
|
|||||||
@@ -364,7 +364,7 @@ func getMainStoreVendorSkuID(mainStoreID int, skuID int) (vendorSkuID string, er
|
|||||||
)
|
)
|
||||||
storeSkus, err := dao.GetStoresSkusInfo(db, []int{mainStoreID}, []int{skuID})
|
storeSkus, err := dao.GetStoresSkusInfo(db, []int{mainStoreID}, []int{skuID})
|
||||||
if len(storeSkus) > 0 {
|
if len(storeSkus) > 0 {
|
||||||
vendorSkuID = storeSkus[0].GmID
|
//vendorSkuID = storeSkus[0].GmID
|
||||||
}
|
}
|
||||||
return vendorSkuID, err
|
return vendorSkuID, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user