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:
@@ -196,6 +196,10 @@ public class LianLianServiceImpl implements LianLianService {
|
||||
.parkingLockFlag(Integer.valueOf(pileStationInfo.getParkingLockFlag()))
|
||||
|
||||
.build();
|
||||
if (StringUtils.equals(String.valueOf(pileStationInfo.getMerchantId()), "35")) {
|
||||
// 如果是希晓运营商,则把equipmentOwnerID换成希晓
|
||||
info.setEquipmentOwnerID(Constants.OPERATORID_XI_XIAO);
|
||||
}
|
||||
String payment = StationPaymentEnum.getPaymentByCode(pileStationInfo.getPayment());
|
||||
info.setPayment(payment);
|
||||
if (StringUtils.isNotBlank(pileStationInfo.getParkingNumber())) {
|
||||
@@ -978,6 +982,9 @@ public class LianLianServiceImpl implements LianLianService {
|
||||
.stopReason(0)
|
||||
// .chargeDetails()
|
||||
.build();
|
||||
if (StringUtils.equals(orderBasicInfo.getMerchantId(), "35")) {
|
||||
orderInfo.setEquipmentOwnerID(Constants.OPERATORID_XI_XIAO);
|
||||
}
|
||||
// 支付方式
|
||||
if (StringUtils.equals(orderBasicInfo.getPayMode(), OrderPayModeEnum.PAYMENT_OF_WECHATPAY.getValue())) {
|
||||
// 微信支付
|
||||
|
||||
Reference in New Issue
Block a user