update 发送停止充电消息中订单金额改为结算金额

This commit is contained in:
Lemon
2024-03-05 09:06:08 +08:00
parent 7c6b7eab72
commit 66042dd277
4 changed files with 53 additions and 1 deletions

View File

@@ -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;
}
}

View File

@@ -38,6 +38,11 @@ public class SendMessageVO {
*/
private String orderAmount;
/**
* 结算金额
*/
private String settleAmount;
/**
* 用户openId
*/

View File

@@ -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()); // 充电度数