银豹同步修改
This commit is contained in:
@@ -4089,14 +4089,17 @@ func buildStoreSkuBindInfosAndFocus(ctx *jxcontext.Context, db *dao.DaoDB, store
|
||||
jxPrice = jxutils.CaculatePriceByPricePack(pricePercentagePack2, 0, price)
|
||||
}
|
||||
skuBind := &model.StoreSkuBind{
|
||||
StoreID: store.ID,
|
||||
UnitPrice: price,
|
||||
Price: price,
|
||||
Status: model.StoreSkuBindStatusNormal,
|
||||
YbID: utils.Str2Int64(v.SkuList[0].VendorSkuID),
|
||||
YbPrice: int(v.SkuList[0].VendorPrice),
|
||||
JxPrice: jxPrice,
|
||||
YbSyncStatus: 0,
|
||||
StoreID: store.ID,
|
||||
UnitPrice: price,
|
||||
Price: price,
|
||||
Status: model.StoreSkuBindStatusNormal,
|
||||
YbID: utils.Str2Int64(v.SkuList[0].VendorSkuID),
|
||||
YbPrice: int(v.SkuList[0].VendorPrice),
|
||||
JxPrice: jxPrice,
|
||||
YbSyncStatus: 0,
|
||||
MtwmSyncStatus: model.SyncFlagNewMask,
|
||||
JdSyncStatus: model.SyncFlagNewMask,
|
||||
EbaiSyncStatus: model.SyncFlagNewMask,
|
||||
}
|
||||
if len(skus) > 0 {
|
||||
skuBind.SkuID = skus[0].ID
|
||||
|
||||
Reference in New Issue
Block a user