Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
06f90b6f7f
@ -98,6 +98,11 @@ public class EbikeOrder implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private Integer paymentMethod;
|
private Integer paymentMethod;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 起步时长(分钟
|
||||||
|
*/
|
||||||
|
private Integer baseDurationMinutes;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 起步费用
|
* 起步费用
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -100,6 +100,7 @@ public class EbikeOrderServiceImpl extends ServiceImpl<EbikeOrderMapper, EbikeOr
|
|||||||
.orderType(OrderType.ONCE)
|
.orderType(OrderType.ONCE)
|
||||||
.startLocation(orderDto.getStartPoint())
|
.startLocation(orderDto.getStartPoint())
|
||||||
.startTime(LocalDateTime.now())
|
.startTime(LocalDateTime.now())
|
||||||
|
.baseDurationMinutes(bikeInfo.getBaseDurationMinutes())
|
||||||
.baseFee(bikeInfo.getBaseFee())
|
.baseFee(bikeInfo.getBaseFee())
|
||||||
.durationFee(bikeInfo.getDurationFee())
|
.durationFee(bikeInfo.getDurationFee())
|
||||||
.freeDurationMinutes(bikeInfo.getFreeDurationMinutes())
|
.freeDurationMinutes(bikeInfo.getFreeDurationMinutes())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user