|
|
@@ -172,9 +172,9 @@ public class EnNotifyServiceImpl implements EnNotifyService {
|
|
|
// 更新订单信息
|
|
|
chargeOrder.setEndTime(LocalDateTime.parse(data.getString("EndTime"), DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));
|
|
|
chargeOrder.setTotalPower(data.getDoubleValue("TotalPower"));
|
|
|
- chargeOrder.setElecMoney(data.getIntValue("TotalElecMoney"));
|
|
|
- chargeOrder.setServiceMoney(data.getIntValue("TotalSeviceMoney")); // 这里文档service单词错误,按文档填写
|
|
|
- chargeOrder.setTotalMoney(data.getIntValue("TotalMoney"));
|
|
|
+ chargeOrder.setElecMoney((int) Math.round(data.getDouble("TotalElecMoney") * 100));
|
|
|
+ chargeOrder.setServiceMoney((int) Math.round(data.getDoubleValue("TotalSeviceMoney") * 100)); // 这里文档service单词错误,按文档填写
|
|
|
+ chargeOrder.setTotalMoney((int) Math.round(data.getDoubleValue("TotalMoney") * 100));
|
|
|
chargeOrder.setStopReason(data.getIntValue("StopReason"));
|
|
|
chargeOrder.setSumPeriod(data.getIntValue("SumPeriod"));
|
|
|
chargeOrder.setChargeDetail(data.getString("ChargeDetails"));
|