mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-24 00:59:43 +08:00
update 上海宏鹏推送联联
This commit is contained in:
@@ -115,6 +115,8 @@ public class Constants {
|
|||||||
|
|
||||||
public static final String OPERATORID_PAI_HE = "MACTXP7X8";
|
public static final String OPERATORID_PAI_HE = "MACTXP7X8";
|
||||||
|
|
||||||
|
public static final String OPERATORID_HONG_PENG = "132294282";
|
||||||
|
|
||||||
|
|
||||||
// public static final String APP_ID = "wxbb3e0d474569481d"; // 举视充电网 wxbb3e0d474569481d
|
// public static final String APP_ID = "wxbb3e0d474569481d"; // 举视充电网 wxbb3e0d474569481d
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ public class MerchantUtils {
|
|||||||
// 上海派荷科技有限公司
|
// 上海派荷科技有限公司
|
||||||
public static final String PAI_HE_MERCHANT_ID = "367";
|
public static final String PAI_HE_MERCHANT_ID = "367";
|
||||||
|
|
||||||
|
public static final String HONG_PENG_MERCHANT_ID = "482";
|
||||||
|
|
||||||
|
|
||||||
// 是否是希晓运营商
|
// 是否是希晓运营商
|
||||||
public static boolean isXiXiaoMerchant(String merchantId) {
|
public static boolean isXiXiaoMerchant(String merchantId) {
|
||||||
@@ -50,4 +52,8 @@ public class MerchantUtils {
|
|||||||
String organizationCode = "91310118MA1JLFUU81";
|
String organizationCode = "91310118MA1JLFUU81";
|
||||||
System.out.println(getOperatorID(organizationCode));
|
System.out.println(getOperatorID(organizationCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static boolean isHongPeng(String s) {
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -628,6 +628,9 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
|
|||||||
if( MerchantUtils.isPaiHeMerchant(String.valueOf(pileStationInfo.getMerchantId()))){
|
if( MerchantUtils.isPaiHeMerchant(String.valueOf(pileStationInfo.getMerchantId()))){
|
||||||
info.setEquipmentOwnerID(Constants.OPERATORID_PAI_HE);
|
info.setEquipmentOwnerID(Constants.OPERATORID_PAI_HE);
|
||||||
}
|
}
|
||||||
|
if (MerchantUtils.isHongPeng(String.valueOf(pileStationInfo.getMerchantId()))) {
|
||||||
|
info.setEquipmentOwnerID(Constants.OPERATORID_HONG_PENG);
|
||||||
|
}
|
||||||
|
|
||||||
String payment = StationPaymentEnum.getPaymentByCode(pileStationInfo.getPayment());
|
String payment = StationPaymentEnum.getPaymentByCode(pileStationInfo.getPayment());
|
||||||
info.setPayment(payment);
|
info.setPayment(payment);
|
||||||
|
|||||||
Reference in New Issue
Block a user