临时修改
This commit is contained in:
@@ -3672,14 +3672,14 @@ func RefreshJxPriceByVendor(ctx *jxcontext.Context, jdStoreSkus []*JdStoreSkus,
|
|||||||
for kk, vv := range v {
|
for kk, vv := range v {
|
||||||
result, err := dao.GetStoreSkuBindByNameID(db, k, kk, model.SkuStatusNormal)
|
result, err := dao.GetStoreSkuBindByNameID(db, k, kk, model.SkuStatusNormal)
|
||||||
if len(result) > 0 && err == nil {
|
if len(result) > 0 && err == nil {
|
||||||
if result[0].UnitPrice > vv {
|
// if result[0].UnitPrice > vv {
|
||||||
storeSkuBindInfo := &StoreSkuBindInfo{
|
storeSkuBindInfo := &StoreSkuBindInfo{
|
||||||
StoreID: k,
|
StoreID: k,
|
||||||
NameID: kk,
|
NameID: kk,
|
||||||
UnitPrice: vv,
|
UnitPrice: vv,
|
||||||
}
|
|
||||||
param = append(param, storeSkuBindInfo)
|
|
||||||
}
|
}
|
||||||
|
param = append(param, storeSkuBindInfo)
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user