mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update 联联平台Service
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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())) {
|
||||
// 微信支付
|
||||
|
||||
Reference in New Issue
Block a user