diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/rpc/WccServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/rpc/WccServiceImpl.java index 5f238cfb2..9c56ed1a7 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/rpc/WccServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/rpc/WccServiceImpl.java @@ -966,4 +966,26 @@ public class WccServiceImpl implements WccService { return jctPileDetailInfoVOS; } + @Override + public List selectThirdPartyStationRelationList(JCTThirdPartyStationRelation jctThirdPartyStationRelation) { + if (jctThirdPartyStationRelation == null) { + return Collections.emptyList() ; + } + ThirdPartyStationRelation thirdPartyStationRelation = new ThirdPartyStationRelation(); + BeanUtils.copyProperties(jctThirdPartyStationRelation,thirdPartyStationRelation); + + List thirdPartyStationRelations = thirdPartyStationRelationMapper.selectThirdPartyStationRelationList(thirdPartyStationRelation); + if (CollectionUtils.isEmpty(thirdPartyStationRelations)) { + return Collections.emptyList(); + } + List jctThirdPartyStationRelations = new ArrayList<>(); + for (ThirdPartyStationRelation thirdPartyStationRelation1 : thirdPartyStationRelations) { + JCTThirdPartyStationRelation jctThirdPartyStationRelation1 = new JCTThirdPartyStationRelation(); + BeanUtils.copyProperties(thirdPartyStationRelation1, jctThirdPartyStationRelation1); + jctThirdPartyStationRelations.add(jctThirdPartyStationRelation1); + } + return jctThirdPartyStationRelations; + } + + } diff --git a/pom.xml b/pom.xml index 9f9ae0feb..57f312c81 100644 --- a/pom.xml +++ b/pom.xml @@ -46,7 +46,7 @@ 3.3.0 2.0.3 - 0.1.2 + 0.1.3