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