mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
update 华为平台生成订单、结算订单方法
This commit is contained in:
@@ -507,7 +507,7 @@ public class CommonService {
|
||||
* @param pileConnectorCode
|
||||
* @return
|
||||
*/
|
||||
public String commonQueryStartCharge(String thirdPartyType, List<String> stationIds, String pileConnectorCode, BigDecimal chargeAmount) {
|
||||
public String commonQueryStartCharge(String thirdPartyType, List<String> stationIds, String pileConnectorCode, BigDecimal chargeAmount, String payMode) {
|
||||
// 判断平台类型
|
||||
if (StringUtils.equals(ThirdPlatformTypeEnum.HUA_WEI.getCode(), thirdPartyType)) {
|
||||
// 华为平台
|
||||
@@ -528,6 +528,7 @@ public class CommonService {
|
||||
HWQueryStartChargeDTO dto = new HWQueryStartChargeDTO();
|
||||
dto.setConnectorID(pileConnectorCode);
|
||||
dto.setMoneyLimit(chargeAmount);
|
||||
dto.setPayMode(payMode);
|
||||
QueryStartChargeVO startChargeVO = huaweiServiceV2.queryStartCharge(dto);
|
||||
if (startChargeVO.getSuccStat() != Constants.zero) {
|
||||
log.error(thirdPartyType + "请求启动充电 error, {}", startChargeVO.getFailReason());
|
||||
|
||||
Reference in New Issue
Block a user