测试刷新历史结算价

This commit is contained in:
苏尹岚
2020-05-18 10:25:10 +08:00
parent a3565b85a1
commit dc4da12e73
3 changed files with 24 additions and 22 deletions

View File

@@ -423,6 +423,9 @@ func updateSingleOrderEarningPrice(order *model.GoodsOrder, db *dao.DaoDB) {
}
}
if len(skuIDMap) > 0 {
if order.VendorOrderID == "5000356075877900459" {
fmt.Println("testupdateSingleOrderEarningPrice", order.VendorOrderID)
}
actStoreSkuList, err := dao.GetEffectiveActStoreSkuInfo(db, 0, []int{order.VendorID}, model.ActTypeAll, []int{jxStoreID}, jxutils.IntMap2List(skuIDMap), order.OrderCreatedAt, order.OrderCreatedAt)
if err != nil {
globals.SugarLogger.Errorf("updateOrderSkuOtherInfo can not get sku promotion info for error:%v", err)