|
|
@ -135,7 +135,7 @@ public class RealTargetServiceImpl implements RealTargetService { |
|
|
|
// 站点设置
|
|
|
|
// 站点设置
|
|
|
|
if(CollectionUtil.isNotEmpty(stations)){ |
|
|
|
if(CollectionUtil.isNotEmpty(stations)){ |
|
|
|
List<StationEntity> list = stations.stream().filter(o->item.getCreateDept().equals(o.getRefDept())).collect(Collectors.toList()); |
|
|
|
List<StationEntity> list = stations.stream().filter(o->item.getCreateDept().equals(o.getRefDept())).collect(Collectors.toList()); |
|
|
|
if(CollectionUtil.isEmpty(list)){ |
|
|
|
if(CollectionUtil.isNotEmpty(list)){ |
|
|
|
item.setStationCode(list.get(0).getCode()); |
|
|
|
item.setStationCode(list.get(0).getCode()); |
|
|
|
item.setStationName(list.get(0).getName()); |
|
|
|
item.setStationName(list.get(0).getName()); |
|
|
|
} |
|
|
|
} |
|
|
|