fix: 修改部门
parent
2fc7ef07f8
commit
b168d8a899
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue