京东商城改价修改
This commit is contained in:
@@ -506,9 +506,9 @@ func (v *VendorSync) SyncStoresSkus2(ctx *jxcontext.Context, parentTask tasksch.
|
||||
return nil, partner.AddVendorInfo2Err(err, loopMapInfo.VendorID)
|
||||
}, isContinueWhenError)
|
||||
if task != nil {
|
||||
fmt.Println("testerr4", err)
|
||||
err = makeSyncError(err)
|
||||
}
|
||||
fmt.Println("testerr4", err)
|
||||
return hint, err
|
||||
}
|
||||
|
||||
@@ -689,6 +689,7 @@ func (v *VendorSync) LoopStoresMap2(ctx *jxcontext.Context, parentTask tasksch.I
|
||||
} else {
|
||||
hint = task.GetID()
|
||||
}
|
||||
fmt.Println("testerr5", err)
|
||||
return task, hint, err
|
||||
}
|
||||
|
||||
|
||||
@@ -672,7 +672,7 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
|
||||
specQuality = utils.Float64ToStr(float64(v.SpecQuality)) + v.SpecUnit
|
||||
}
|
||||
if v.Comment != "" {
|
||||
specQuality += " " + v.Comment
|
||||
specQuality = v.Comment
|
||||
}
|
||||
for _, v := range valuesSku {
|
||||
if v.Name == specQuality {
|
||||
@@ -790,9 +790,9 @@ func buildUpdateSkusParam(storeSku *dao.StoreSkuSyncInfo, v *dao.StoreSkuSyncInf
|
||||
} else {
|
||||
specQuality = utils.Float64ToStr(float64(v.SpecQuality)) + v.SpecUnit
|
||||
}
|
||||
// if v.Comment != "" {
|
||||
// specQuality += " " + v.Comment
|
||||
// }
|
||||
if v.Comment != "" {
|
||||
specQuality = v.Comment
|
||||
}
|
||||
for _, vv := range valuesSku {
|
||||
if vv.Name == specQuality {
|
||||
// if v.Comment == "" {
|
||||
|
||||
Reference in New Issue
Block a user