mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
update
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.jsowell.pile.rpc;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.jsowell.common.core.domain.ykc.BMSChargeInfoData;
|
||||
import com.jsowell.common.core.domain.ykc.BMSDemandAndChargerOutputData;
|
||||
import com.jsowell.common.core.domain.ykc.RealTimeMonitorData;
|
||||
@@ -249,8 +250,10 @@ public class WccServiceImpl implements WccService {
|
||||
public List<JCTThirdPartySecretInfoVO> queryStationToPlatformList(String stationId) {
|
||||
List<ThirdPartySecretInfoVO> thirdPartySecretInfoVOS = thirdpartySecretInfoService.queryStationToPlatformList(stationId);
|
||||
if (thirdPartySecretInfoVOS == null || thirdPartySecretInfoVOS.isEmpty()) {
|
||||
log.info("根据站点id查询第三方平台配置列表数量:0");
|
||||
return Collections.emptyList();
|
||||
}
|
||||
List<JCTThirdPartySecretInfoVO> result = new ArrayList<>(thirdPartySecretInfoVOS.size());
|
||||
for (ThirdPartySecretInfoVO thirdPartySecretInfoVO : thirdPartySecretInfoVOS) {
|
||||
JCTThirdPartySecretInfoVO build = JCTThirdPartySecretInfoVO.builder()
|
||||
.ourOperatorId(thirdPartySecretInfoVO.getOurOperatorId())
|
||||
@@ -271,9 +274,10 @@ public class WccServiceImpl implements WccService {
|
||||
.theirPublicSecret(thirdPartySecretInfoVO.getTheirPublicSecret())
|
||||
.theirPrivateSecret(thirdPartySecretInfoVO.getTheirPrivateSecret())
|
||||
.build();
|
||||
return Collections.singletonList(build);
|
||||
result.add(build);
|
||||
}
|
||||
return Collections.emptyList();
|
||||
log.info("根据站点id查询第三方平台配置列表数量:{},详情:{}", result.size(), JSON.toJSONString(result));
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user