This commit is contained in:
cun-nan 2024-10-29 11:49:59 +08:00
parent 05c85707dc
commit 17161700e0

View File

@ -440,8 +440,8 @@ public class OilOrderServiceImpl extends ServiceImpl<OilOrderMapper, OilOrder> 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");