用户获取车辆信息
This commit is contained in:
parent
420655a105
commit
12a019b996
@ -43,7 +43,7 @@ public class EbikeUserBikeInfo implements Serializable {
|
||||
/**
|
||||
* 车辆电量
|
||||
*/
|
||||
private Float soc = 50F;
|
||||
private Float soc;
|
||||
|
||||
/**
|
||||
* 免费时长(分钟):使用服务前的免费时间
|
||||
|
||||
@ -337,6 +337,7 @@ public class EbikeBikeInfoServiceImpl extends ServiceImpl<EbikeBikeInfoMapper, E
|
||||
.maxFeeAmount(configurations.getMaxFeeAmount())
|
||||
.noParkingZoneFee(configurations.getNoParkingZoneFee())
|
||||
.helmetManagementFee(configurations.getHelmetManagementFee())
|
||||
.soc(50F)
|
||||
.build();
|
||||
} else {
|
||||
EbikeUserBikeInfo userBikeInfo = EbikeUserBikeInfo.builder()
|
||||
@ -353,6 +354,7 @@ public class EbikeBikeInfoServiceImpl extends ServiceImpl<EbikeBikeInfoMapper, E
|
||||
.maxFeeAmount(configurations.getMaxFeeAmount())
|
||||
.noParkingZoneFee(configurations.getNoParkingZoneFee())
|
||||
.helmetManagementFee(configurations.getHelmetManagementFee())
|
||||
.soc(50F)
|
||||
.build();
|
||||
if (specialBillingConfiguration.getType() == SpecialBillingConfigurationType.DAY) {
|
||||
query.clear();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user