mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 19:45:09 +08:00
小程序获取订单详情接口添加字段
This commit is contained in:
@@ -125,6 +125,13 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
|
||||
|
||||
vo.setElectricityPrice(new BigDecimal(electricityPrice));
|
||||
vo.setServicePrice(new BigDecimal(servicePrice));
|
||||
|
||||
if (StringUtils.isNotBlank(String.valueOf(currentTimePriceDetails.getFreeTime()))) {
|
||||
vo.setFreeTime(currentTimePriceDetails.getFreeTime());
|
||||
}
|
||||
if (StringUtils.isNotBlank(String.valueOf(currentTimePriceDetails.getOccupyFee()))) {
|
||||
vo.setOccupyFee(currentTimePriceDetails.getOccupyFee());
|
||||
}
|
||||
}
|
||||
|
||||
if (pileStationInfo != null) {
|
||||
@@ -145,6 +152,7 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
|
||||
if (StringUtils.isNotBlank(pileStationInfo.getParkFeeDescribe())) {
|
||||
vo.setParkFeeDescribe(pileStationInfo.getParkFeeDescribe());
|
||||
}
|
||||
|
||||
vo.setMerchantAdminName(pileStationInfo.getStationAdminName());
|
||||
vo.setStationStatus(Integer.parseInt(pileStationInfo.getStationStatus()));
|
||||
vo.setStationType(pileStationInfo.getStationType());
|
||||
|
||||
@@ -6,6 +6,7 @@ import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@@ -128,6 +129,16 @@ public class UniAppOrderVO {
|
||||
*/
|
||||
private String endChargingTime;
|
||||
|
||||
/**
|
||||
* 占桩免费时长
|
||||
*/
|
||||
private Integer freeTime;
|
||||
|
||||
/**
|
||||
* 占桩费率
|
||||
*/
|
||||
private BigDecimal occupyFee;
|
||||
|
||||
/**
|
||||
* 充电实时数据列表
|
||||
*/
|
||||
|
||||
@@ -201,4 +201,14 @@ public class PileStationVO {
|
||||
*/
|
||||
private String parkFeeDescribe;
|
||||
|
||||
/**
|
||||
* 占桩免费时长
|
||||
*/
|
||||
private Integer freeTime;
|
||||
|
||||
/**
|
||||
* 占桩费率
|
||||
*/
|
||||
private BigDecimal occupyFee;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user