mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-23 04:25:21 +08:00
update
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.jsowell.thirdparty.common;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import com.jsowell.common.enums.thirdparty.ThirdPlatformTypeEnum;
|
||||
import com.jsowell.common.enums.ykc.ReturnCodeEnum;
|
||||
import com.jsowell.common.exception.BusinessException;
|
||||
import com.jsowell.common.util.StringUtils;
|
||||
@@ -168,8 +169,14 @@ public class NotificationService {
|
||||
ThirdPartyPlatformService platformService = ThirdPartyPlatformFactory.getInvokeStrategy(secretInfoVO.getPlatformType());
|
||||
//充电订单信息推送
|
||||
platformService.notificationChargeOrderInfo(orderCode, secretInfoVO);
|
||||
//订单信息推送
|
||||
platformService.notificationChargeOrderInfo(orderCode);
|
||||
// 测试联联之禾时发现会同时有两条notification_orderInfo请求发送,原因是异步走了lianLianService中的方法,因此请求一条出错,一条成功
|
||||
// 注释掉另一个异步方法中的判断联联的if判断,看看效果
|
||||
if(secretInfoVO.getPlatformType().equals(ThirdPlatformTypeEnum.LIAN_LIAN_PLATFORM.getTypeCode())){
|
||||
//订单信息推送
|
||||
platformService.notificationChargeOrderInfo(orderCode);
|
||||
//推送停止充电结果
|
||||
platformService.notificationStopChargeResult(orderCode);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
logger.error("充电订单信息推送error", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user