mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-10 18:30:02 +08:00
加字段注释
This commit is contained in:
@@ -700,7 +700,9 @@ public class OrderService {
|
|||||||
// return false;
|
// return false;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
// 充电金额
|
||||||
String chargingAmount = dto.getChargingAmount();
|
String chargingAmount = dto.getChargingAmount();
|
||||||
|
// 充电度数
|
||||||
String chargingDegree = dto.getChargingDegree();
|
String chargingDegree = dto.getChargingDegree();
|
||||||
if (StringUtils.equals(chargingAmount, Constants.ZERO) || StringUtils.equals(chargingDegree, Constants.ZERO)) {
|
if (StringUtils.equals(chargingAmount, Constants.ZERO) || StringUtils.equals(chargingDegree, Constants.ZERO)) {
|
||||||
// 获取最后一次实时数据
|
// 获取最后一次实时数据
|
||||||
|
|||||||
@@ -403,8 +403,10 @@ public abstract class AbstractProgramLogic implements InitializingBean {
|
|||||||
orderDetail.setTotalElectricityAmount(totalElectricityAmount);
|
orderDetail.setTotalElectricityAmount(totalElectricityAmount);
|
||||||
// 服务费总金额
|
// 服务费总金额
|
||||||
orderDetail.setTotalServiceAmount(totalServiceAmount);
|
orderDetail.setTotalServiceAmount(totalServiceAmount);
|
||||||
orderDetail.setTotalUsedElectricity(new BigDecimal(data.getTotalElectricity())); // 总用电量
|
// 总用电量
|
||||||
orderDetail.setTotalOrderAmount(orderAmount); // 订单总金额
|
orderDetail.setTotalUsedElectricity(new BigDecimal(data.getTotalElectricity()));
|
||||||
|
// 订单总金额
|
||||||
|
orderDetail.setTotalOrderAmount(orderAmount);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("设置订单详情参数发生异常", e);
|
logger.error("设置订单详情参数发生异常", e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user