新增 青海省平台推送站点信息接口

This commit is contained in:
Lemon
2024-04-10 09:23:38 +08:00
parent 00d648deb7
commit 6a10432f7f
3 changed files with 104 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ import com.jsowell.thirdparty.huawei.HuaweiServiceV2;
import com.jsowell.thirdparty.platform.hainan.service.HaiNanPlatformServiceImpl;
import com.jsowell.thirdparty.huawei.HuaWeiService;
import com.jsowell.thirdparty.lianlian.service.LianLianService;
import com.jsowell.thirdparty.platform.qinghai.service.QingHaiPlatformServiceImpl;
import com.jsowell.thirdparty.platform.util.HttpRequestUtil;
import com.jsowell.thirdparty.lutongyunting.service.LTYTService;
import com.jsowell.thirdparty.nanrui.service.NRService;
@@ -106,6 +107,9 @@ public class CommonService {
@Autowired
private HaiNanPlatformServiceImpl haiNanChargeService;
@Autowired
private QingHaiPlatformServiceImpl qingHaiPlatformService;
@Autowired
private RedisCache redisCache;
@@ -308,6 +312,13 @@ public class CommonService {
// log.info("推送甬城泊车充电订单状态 result:{}", result2);
}
}
if (StringUtils.equals(ThirdPlatformTypeEnum.QING_HAI_PLATFORM.getTypeCode(), thirdPartyType)) {
// 青海省平台
String result = qingHaiPlatformService.notificationStationStatus(pileConnectorCode, changedStatus);
log.info("推送甬城泊车平台设备状态变化推送 pileConnectorCode:{}, changedStatus:{}, result:{}"
, pileConnectorCode, changedStatus, result);
}
}
}