fix: 修改部门

pull/9/head
tangqian 2023-06-01 14:11:28 +08:00
parent 2fc7ef07f8
commit b168d8a899
1 changed files with 7 additions and 7 deletions

View File

@ -214,11 +214,11 @@ public class RechargeOrderServiceImpl implements RechargeOrderService {
List<RechargeOrderInfoDO> infoDOS1 = collect.get(orderDO.getOrderId()); List<RechargeOrderInfoDO> infoDOS1 = collect.get(orderDO.getOrderId());
for (RechargeOrderInfoDO infoDO : infoDOS1) { for (RechargeOrderInfoDO infoDO : infoDOS1) {
if (infoDO.getPrice().compareTo(new BigDecimal("240")) == 0) { if (infoDO.getPrice().compareTo(new BigDecimal("240")) == 0) {
grade.append("套餐1,"); grade.append("套餐" + infoDO.getPrice() + ",");
} else if (infoDO.getPrice().compareTo(new BigDecimal("400")) == 0) { } 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) { } else if (infoDO.getPrice().compareTo(new BigDecimal("640")) == 0) {
grade.append("套餐3"); grade.append("套餐" + infoDO.getPrice());
} }
} }
orderDO.setGrade(grade.toString()); orderDO.setGrade(grade.toString());
@ -247,7 +247,7 @@ public class RechargeOrderServiceImpl implements RechargeOrderService {
} else if (infoDO.getPrice().compareTo(new BigDecimal("400")) == 0) { } else if (infoDO.getPrice().compareTo(new BigDecimal("400")) == 0) {
grade.append("套餐" + infoDO.getPrice() + ","); grade.append("套餐" + infoDO.getPrice() + ",");
} else if (infoDO.getPrice().compareTo(new BigDecimal("640")) == 0) { } else if (infoDO.getPrice().compareTo(new BigDecimal("640")) == 0) {
grade.append("套餐" + infoDO.getPrice() + ","); grade.append("套餐" + infoDO.getPrice());
} }
} }
orderDO.setGrade(grade.toString()); orderDO.setGrade(grade.toString());
@ -328,11 +328,11 @@ public class RechargeOrderServiceImpl implements RechargeOrderService {
List<RechargeOrderInfoDO> infoDOS1 = collect.get(orderDO.getOrderId()); List<RechargeOrderInfoDO> infoDOS1 = collect.get(orderDO.getOrderId());
for (RechargeOrderInfoDO infoDO : infoDOS1) { for (RechargeOrderInfoDO infoDO : infoDOS1) {
if (infoDO.getPrice().compareTo(new BigDecimal("240")) == 0) { if (infoDO.getPrice().compareTo(new BigDecimal("240")) == 0) {
grade.append("套餐1,"); grade.append("套餐" + infoDO.getPrice() + ",");
} else if (infoDO.getPrice().compareTo(new BigDecimal("400")) == 0) { } 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) { } else if (infoDO.getPrice().compareTo(new BigDecimal("640")) == 0) {
grade.append("套餐3"); grade.append("套餐" + infoDO.getPrice());
} }
} }
orderDO.setGrade(grade.toString()); orderDO.setGrade(grade.toString());