From 17161700e0f80f368a1535ce23b9d51977eec879 Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Tue, 29 Oct 2024 11:49:59 +0800 Subject: [PATCH] 10.29 --- .../business/order/service/impl/OilOrderServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java index 987fbdb6e..cf040688d 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java @@ -440,8 +440,8 @@ public class OilOrderServiceImpl extends ServiceImpl i Double activeAmount = Double.valueOf(ObjectUtil.isNotEmpty(map.get("activeAmount")) ? map.get("activeAmount") : "0.0"); // 优惠券 用户 id Integer couponUserId = null; - if (StringUtils.isNotEmpty(map.get("userId"))) { - couponUserId = Integer.valueOf(map.get("userId")); + if (StringUtils.isNotEmpty(map.get("couponId"))) { + couponUserId = Integer.valueOf(map.get("couponId")); } // 优惠券类型 String couponType = map.get("couponType");