用户获取车辆信息

This commit is contained in:
attiya 2025-11-11 11:28:11 +08:00
parent 420655a105
commit 12a019b996
2 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,7 @@ public class EbikeUserBikeInfo implements Serializable {
/** /**
* 车辆电量 * 车辆电量
*/ */
private Float soc = 50F; private Float soc;
/** /**
* 免费时长分钟使用服务前的免费时间 * 免费时长分钟使用服务前的免费时间

View File

@ -337,6 +337,7 @@ public class EbikeBikeInfoServiceImpl extends ServiceImpl<EbikeBikeInfoMapper, E
.maxFeeAmount(configurations.getMaxFeeAmount()) .maxFeeAmount(configurations.getMaxFeeAmount())
.noParkingZoneFee(configurations.getNoParkingZoneFee()) .noParkingZoneFee(configurations.getNoParkingZoneFee())
.helmetManagementFee(configurations.getHelmetManagementFee()) .helmetManagementFee(configurations.getHelmetManagementFee())
.soc(50F)
.build(); .build();
} else { } else {
EbikeUserBikeInfo userBikeInfo = EbikeUserBikeInfo.builder() EbikeUserBikeInfo userBikeInfo = EbikeUserBikeInfo.builder()
@ -353,6 +354,7 @@ public class EbikeBikeInfoServiceImpl extends ServiceImpl<EbikeBikeInfoMapper, E
.maxFeeAmount(configurations.getMaxFeeAmount()) .maxFeeAmount(configurations.getMaxFeeAmount())
.noParkingZoneFee(configurations.getNoParkingZoneFee()) .noParkingZoneFee(configurations.getNoParkingZoneFee())
.helmetManagementFee(configurations.getHelmetManagementFee()) .helmetManagementFee(configurations.getHelmetManagementFee())
.soc(50F)
.build(); .build();
if (specialBillingConfiguration.getType() == SpecialBillingConfigurationType.DAY) { if (specialBillingConfiguration.getType() == SpecialBillingConfigurationType.DAY) {
query.clear(); query.clear();