mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 电单车协议
This commit is contained in:
@@ -3772,14 +3772,30 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
||||
BigDecimal valleyElectricityPrice = BigDecimal.ZERO; // 谷时段电费单价
|
||||
BigDecimal valleyServicePrice = BigDecimal.ZERO; // 谷时段服务费单价
|
||||
if (billingTemplate != null) {
|
||||
sharpElectricityPrice = billingTemplate.getSharpElectricityPrice() != null ? billingTemplate.getSharpElectricityPrice() : BigDecimal.ZERO;
|
||||
sharpServicePrice = billingTemplate.getSharpServicePrice() != null ? billingTemplate.getSharpServicePrice() : BigDecimal.ZERO;
|
||||
peakElectricityPrice = billingTemplate.getPeakElectricityPrice() != null ? billingTemplate.getPeakElectricityPrice() : BigDecimal.ZERO;
|
||||
peakServicePrice = billingTemplate.getPeakServicePrice() != null ? billingTemplate.getPeakServicePrice() : BigDecimal.ZERO;
|
||||
flatElectricityPrice = billingTemplate.getFlatElectricityPrice() != null ? billingTemplate.getFlatElectricityPrice() : BigDecimal.ZERO;
|
||||
flatServicePrice = billingTemplate.getFlatServicePrice() != null ? billingTemplate.getFlatServicePrice() : BigDecimal.ZERO;
|
||||
valleyElectricityPrice = billingTemplate.getValleyElectricityPrice() != null ? billingTemplate.getValleyElectricityPrice() : BigDecimal.ZERO;
|
||||
valleyServicePrice = billingTemplate.getValleyServicePrice() != null ? billingTemplate.getValleyServicePrice() : BigDecimal.ZERO;
|
||||
sharpElectricityPrice = billingTemplate.getSharpElectricityPrice() != null
|
||||
? billingTemplate.getSharpElectricityPrice()
|
||||
: BigDecimal.ZERO;
|
||||
sharpServicePrice = billingTemplate.getSharpServicePrice() != null
|
||||
? billingTemplate.getSharpServicePrice()
|
||||
: BigDecimal.ZERO;
|
||||
peakElectricityPrice = billingTemplate.getPeakElectricityPrice() != null
|
||||
? billingTemplate.getPeakElectricityPrice()
|
||||
: BigDecimal.ZERO;
|
||||
peakServicePrice = billingTemplate.getPeakServicePrice() != null
|
||||
? billingTemplate.getPeakServicePrice()
|
||||
: BigDecimal.ZERO;
|
||||
flatElectricityPrice = billingTemplate.getFlatElectricityPrice() != null
|
||||
? billingTemplate.getFlatElectricityPrice()
|
||||
: BigDecimal.ZERO;
|
||||
flatServicePrice = billingTemplate.getFlatServicePrice() != null
|
||||
? billingTemplate.getFlatServicePrice()
|
||||
: BigDecimal.ZERO;
|
||||
valleyElectricityPrice = billingTemplate.getValleyElectricityPrice() != null
|
||||
? billingTemplate.getValleyElectricityPrice()
|
||||
: BigDecimal.ZERO;
|
||||
valleyServicePrice = billingTemplate.getValleyServicePrice() != null
|
||||
? billingTemplate.getValleyServicePrice()
|
||||
: BigDecimal.ZERO;
|
||||
}
|
||||
OrderDetail orderDetail = OrderDetail.builder()
|
||||
.orderCode(orderCode)
|
||||
|
||||
Reference in New Issue
Block a user