diff --git a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/recharge/RechargeOrderServiceImpl.java b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/recharge/RechargeOrderServiceImpl.java index 274b699d6..86bff1e77 100644 --- a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/recharge/RechargeOrderServiceImpl.java +++ b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/recharge/RechargeOrderServiceImpl.java @@ -214,11 +214,11 @@ public class RechargeOrderServiceImpl implements RechargeOrderService { List infoDOS1 = collect.get(orderDO.getOrderId()); for (RechargeOrderInfoDO infoDO : infoDOS1) { if (infoDO.getPrice().compareTo(new BigDecimal("240")) == 0) { - grade.append("套餐1,"); + grade.append("套餐" + infoDO.getPrice() + ","); } else if (infoDO.getPrice().compareTo(new BigDecimal("400")) == 0) { - grade.append("套餐2,"); + grade.append("套餐" + infoDO.getPrice() + ","); } else if (infoDO.getPrice().compareTo(new BigDecimal("640")) == 0) { - grade.append("套餐3"); + grade.append("套餐" + infoDO.getPrice()); } } orderDO.setGrade(grade.toString()); @@ -247,7 +247,7 @@ public class RechargeOrderServiceImpl implements RechargeOrderService { } else if (infoDO.getPrice().compareTo(new BigDecimal("400")) == 0) { grade.append("套餐" + infoDO.getPrice() + ","); } else if (infoDO.getPrice().compareTo(new BigDecimal("640")) == 0) { - grade.append("套餐" + infoDO.getPrice() + ","); + grade.append("套餐" + infoDO.getPrice()); } } orderDO.setGrade(grade.toString()); @@ -328,11 +328,11 @@ public class RechargeOrderServiceImpl implements RechargeOrderService { List infoDOS1 = collect.get(orderDO.getOrderId()); for (RechargeOrderInfoDO infoDO : infoDOS1) { if (infoDO.getPrice().compareTo(new BigDecimal("240")) == 0) { - grade.append("套餐1,"); + grade.append("套餐" + infoDO.getPrice() + ","); } else if (infoDO.getPrice().compareTo(new BigDecimal("400")) == 0) { - grade.append("套餐2,"); + grade.append("套餐" + infoDO.getPrice() + ","); } else if (infoDO.getPrice().compareTo(new BigDecimal("640")) == 0) { - grade.append("套餐3"); + grade.append("套餐" + infoDO.getPrice()); } } orderDO.setGrade(grade.toString());