刷新订单结算价修改

This commit is contained in:
苏尹岚
2020-05-13 18:18:28 +08:00
parent f1e5c2c998
commit 0685af5764

View File

@@ -423,6 +423,7 @@ func updateSingleOrderEarningPrice(order *model.GoodsOrder, db *dao.DaoDB) {
}
if len(skuIDMap) > 0 {
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 {
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 {
fmt.Println("test1111111111111111111111", utils.Format4Output(value, false))
// storeID := 0
// if order.StoreID == 0 {
// storeID = order.JxStoreID