update 希晓运营商推送联联判断

This commit is contained in:
Lemon
2023-11-16 08:46:36 +08:00
parent 65e964b3eb
commit b18b338f8d
3 changed files with 17 additions and 4 deletions

View File

@@ -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())) {
// 微信支付