配置充电停车优惠

This commit is contained in:
Guoqs
2025-02-18 09:42:37 +08:00
parent afdebd9dc6
commit 154a7f35b6
9 changed files with 79 additions and 37 deletions

View File

@@ -697,7 +697,7 @@ public class CommonService {
// 是否满足发券条件
String sumChargingTime = realTimeMonitorData.getSumChargingTime(); // 充电时长
String chargingDegree = realTimeMonitorData.getChargingDegree(); // 充电度数
String conditionType = chargeParkingDiscount.getConditionType();
String conditionType = String.valueOf(chargeParkingDiscount.getConditionType());
// 如果conditionType为1判断充电度数, 如果为2判断充电时长
boolean flag = false;
if (StringUtils.equals(conditionType, Constants.ONE)) {