小程序获取订单详情接口添加字段

This commit is contained in:
Lemon
2023-11-04 13:41:43 +08:00
parent a5110c0d81
commit dd28df3ce3
4 changed files with 35 additions and 0 deletions

View File

@@ -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());