mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update 联联平台请求启动充电接口
This commit is contained in:
@@ -40,4 +40,7 @@ public class QueryStartChargeDTO {
|
||||
*/
|
||||
@JsonProperty(value = "PlateNum")
|
||||
private String PlateNum;
|
||||
|
||||
@JsonProperty(value = "OperatorID")
|
||||
private String OperatorID;
|
||||
}
|
||||
|
||||
@@ -1643,14 +1643,12 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
||||
String pileSn = StringUtils.substring(pileConnectorCode, 0, 14);
|
||||
String connectorCode = StringUtils.substring(pileConnectorCode, 14, 16);
|
||||
|
||||
|
||||
String transactionCode = IdUtils.generateTransactionCode(pileSn, connectorCode);
|
||||
|
||||
// 通过桩号查询所属站点
|
||||
PileBasicInfo pileBasicInfo = pileBasicInfoService.selectPileBasicInfoBySN(pileSn);
|
||||
Long stationId = pileBasicInfo.getStationId();
|
||||
|
||||
|
||||
// 将此订单信息存入订单表
|
||||
// 订单基本信息
|
||||
OrderBasicInfo orderBasicInfo = OrderBasicInfo.builder()
|
||||
@@ -1665,7 +1663,7 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
||||
// .logicCard(pileAuthCardInfo.getLogicCard()) // 卡号
|
||||
.startMode(StartModeEnum.LIAN_LIAN.getValue())
|
||||
.payStatus(Constants.ONE)
|
||||
// .payAmount(totalAccountAmount) // 支付金额
|
||||
.payAmount(new BigDecimal("500")) // 支付金额 2023.05.31:联联平台不会传金额,所以先给500,默认是直到充满
|
||||
.payTime(new Date())
|
||||
// .payMode(PayModeEnum.PAYMENT_OF_BALANCE.getValue()) // 支付方式
|
||||
.orderAmount(BigDecimal.ZERO)
|
||||
|
||||
Reference in New Issue
Block a user