update 联联平台Service

This commit is contained in:
Lemon
2025-04-03 09:55:00 +08:00
parent 7d234aa3af
commit f609af30ee
2 changed files with 11 additions and 0 deletions

View File

@@ -102,6 +102,8 @@ public class Constants {
public static final String OPERATORID_XI_XIAO = "MAC13L2Q9";
public static final String OPERATORID_ZHI_HE = "057643496";
public static final String OPERATORID_YUAN_DA = "599777560";
// public static final String APP_ID = "wxbb3e0d474569481d"; // 举视充电网 wxbb3e0d474569481d

View File

@@ -325,6 +325,9 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
// 如果是希晓运营商则把equipmentOwnerID换成希晓
stationInfo.setEquipmentOwnerID(Constants.OPERATORID_XI_XIAO);
}
if (MerchantUtils.isZhiHeMerchant(String.valueOf(pileStationInfo.getMerchantId()))) {
stationInfo.setEquipmentOwnerID(Constants.OPERATORID_ZHI_HE);
}
List<EquipmentInfo> pileList = pileBasicInfoService.getPileListForLianLian(stationId);
if (CollectionUtils.isNotEmpty(pileList)) {
@@ -595,6 +598,9 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
// 如果是希晓运营商则把equipmentOwnerID换成希晓
info.setEquipmentOwnerID(Constants.OPERATORID_XI_XIAO);
}
if (MerchantUtils.isZhiHeMerchant(String.valueOf(pileStationInfo.getMerchantId()))) {
info.setEquipmentOwnerID(Constants.OPERATORID_ZHI_HE);
}
String payment = StationPaymentEnum.getPaymentByCode(pileStationInfo.getPayment());
info.setPayment(payment);
if (StringUtils.isNotBlank(pileStationInfo.getParkingNumber())) {
@@ -908,6 +914,9 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
// 远大
orderInfo.setEquipmentOwnerID(Constants.OPERATORID_YUAN_DA);
}
if (MerchantUtils.isZhiHeMerchant(String.valueOf(orderBasicInfo.getMerchantId()))) {
orderInfo.setEquipmentOwnerID(Constants.OPERATORID_ZHI_HE);
}
// 支付方式
if (StringUtils.equals(orderBasicInfo.getPayMode(), OrderPayModeEnum.PAYMENT_OF_WECHATPAY.getValue())) {
// 微信支付