刷新订单结算价修改
This commit is contained in:
@@ -423,6 +423,7 @@ func updateSingleOrderEarningPrice(order *model.GoodsOrder, db *dao.DaoDB) {
|
|||||||
}
|
}
|
||||||
if len(skuIDMap) > 0 {
|
if len(skuIDMap) > 0 {
|
||||||
actStoreSkuList, err := dao.GetEffectiveActStoreSkuInfo(db, 0, []int{order.VendorID}, model.ActTypeAll, []int{jxStoreID}, jxutils.IntMap2List(skuIDMap), order.OrderCreatedAt, order.OrderCreatedAt)
|
actStoreSkuList, err := dao.GetEffectiveActStoreSkuInfo(db, 0, []int{order.VendorID}, model.ActTypeAll, []int{jxStoreID}, jxutils.IntMap2List(skuIDMap), order.OrderCreatedAt, order.OrderCreatedAt)
|
||||||
|
fmt.Println("test11111111111111111111111111111", utils.Format4Output(actStoreSkuList, false))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
globals.SugarLogger.Errorf("updateOrderSkuOtherInfo can not get sku promotion info for error:%v", err)
|
globals.SugarLogger.Errorf("updateOrderSkuOtherInfo can not get sku promotion info for error:%v", err)
|
||||||
}
|
}
|
||||||
@@ -750,7 +751,6 @@ func (c *OrderManager) RefreshHistoryOrdersEarningPrice(ctx *jxcontext.Context,
|
|||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
for _, value := range order.Skus {
|
for _, value := range order.Skus {
|
||||||
fmt.Println("test1111111111111111111111", utils.Format4Output(value, false))
|
|
||||||
// storeID := 0
|
// storeID := 0
|
||||||
// if order.StoreID == 0 {
|
// if order.StoreID == 0 {
|
||||||
// storeID = order.JxStoreID
|
// storeID = order.JxStoreID
|
||||||
|
|||||||
Reference in New Issue
Block a user