mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-23 04:25:21 +08:00
update 发送停止充电消息中订单金额改为结算金额
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
package com.jsowell.pile.vo.lianlian;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 推送站点费率VO
|
||||
*
|
||||
* @author Lemon
|
||||
* @Date 2024/3/4 11:02:41
|
||||
*/
|
||||
@Data
|
||||
public class PushStationFeeVO {
|
||||
|
||||
@JsonProperty(value = "OperatorID")
|
||||
private String operatorId;
|
||||
|
||||
@JsonProperty(value = "StationID")
|
||||
private String stationId;
|
||||
|
||||
@JsonProperty(value = "ChargeFeeDetail")
|
||||
private List<ChargeFeeDetail> chargeFeeDetail;
|
||||
|
||||
|
||||
@Data
|
||||
public static class ChargeFeeDetail {
|
||||
|
||||
@JsonProperty(value = "equipmentType")
|
||||
private Integer equipmentType;
|
||||
|
||||
@JsonProperty(value = "ChargeFeeDetail")
|
||||
private String startTime;
|
||||
|
||||
@JsonProperty(value = "ChargeFeeDetail")
|
||||
private String endTime;
|
||||
|
||||
@JsonProperty(value = "ChargeFeeDetail")
|
||||
private BigDecimal electricityFee;
|
||||
|
||||
@JsonProperty(value = "ChargeFeeDetail")
|
||||
private BigDecimal serviceFee;
|
||||
}
|
||||
}
|
||||
@@ -38,6 +38,11 @@ public class SendMessageVO {
|
||||
*/
|
||||
private String orderAmount;
|
||||
|
||||
/**
|
||||
* 结算金额
|
||||
*/
|
||||
private String settleAmount;
|
||||
|
||||
/**
|
||||
* 用户openId
|
||||
*/
|
||||
|
||||
@@ -255,7 +255,7 @@ public class WxAppletRemoteService {
|
||||
AppletTemplateMessageSendDTO.StopChargingMessage stopChargingMessage = new AppletTemplateMessageSendDTO.StopChargingMessage();
|
||||
msgInfo.setStopChargingMessage(stopChargingMessage);
|
||||
|
||||
stopChargingMessage.setChargingAmount(sendMessageVO.getOrderAmount()); // 订单金额
|
||||
stopChargingMessage.setChargingAmount(sendMessageVO.getSettleAmount()); // 订单金额 2024.03.05改为 结算金额
|
||||
stopChargingMessage.setEndReason(sendMessageVO.getStopReason()); // 结束原因
|
||||
stopChargingMessage.setOrderCode(sendMessageVO.getOrderCode()); // 订单号
|
||||
stopChargingMessage.setChargingDegree(sendMessageVO.getChargingDegree()); // 充电度数
|
||||
|
||||
Reference in New Issue
Block a user