aa
This commit is contained in:
@@ -1921,21 +1921,21 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
|||||||
// }
|
// }
|
||||||
//}
|
//}
|
||||||
//补商品
|
//补商品
|
||||||
//order, _ := partner.CurOrderManager.LoadOrder("2115896023000052", model.VendorIDJD)
|
order, _ := partner.CurOrderManager.LoadOrder("2117511142000251", model.VendorIDJD)
|
||||||
//handler := partner.GetPurchaseOrderHandlerFromVendorID(model.VendorIDJD)
|
handler := partner.GetPurchaseOrderHandlerFromVendorID(model.VendorIDJD)
|
||||||
//order2, _ := handler.GetOrder(order.VendorOrgCode, order.VendorOrderID, "")
|
order2, _ := handler.GetOrder(order.VendorOrgCode, order.VendorOrderID, "")
|
||||||
//if len(order.Skus) == 0 {
|
if len(order.Skus) == 0 {
|
||||||
// if len(order2.Skus) > 0 {
|
if len(order2.Skus) > 0 {
|
||||||
// for _, v := range order2.Skus {
|
for _, v := range order2.Skus {
|
||||||
// var shopPrice int64
|
var shopPrice int64
|
||||||
// if storeSkus, _ := dao.GetStoresSkusInfo(dao.GetDB(), []int{order.StoreID}, []int{v.SkuID}); len(storeSkus) > 0 {
|
if storeSkus, _ := dao.GetStoresSkusInfo(dao.GetDB(), []int{order.StoreID}, []int{v.SkuID}); len(storeSkus) > 0 {
|
||||||
// shopPrice = int64(storeSkus[0].Price)
|
shopPrice = int64(storeSkus[0].Price)
|
||||||
// v.ShopPrice = shopPrice
|
v.ShopPrice = shopPrice
|
||||||
// }
|
}
|
||||||
// dao.CreateEntity(dao.GetDB(), v)
|
dao.CreateEntity(dao.GetDB(), v)
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
//}
|
}
|
||||||
//var (
|
//var (
|
||||||
// storeID = 100002
|
// storeID = 100002
|
||||||
// data string
|
// data string
|
||||||
@@ -1986,7 +1986,6 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
//}
|
//}
|
||||||
report.RefreshStoreManageState(ctx, []int{668023}, nil)
|
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user