|
@@ -91,7 +91,9 @@ public class ProEconEquipmentInfoDayTopServiceImpl extends ServiceImpl<ProEconEq
|
|
|
|
|
|
|
|
|
List<ProEconEquipmentInfoDayTop> list = baseMapper.selectList(qw);
|
|
|
-
|
|
|
+ list.stream().forEach(i->{
|
|
|
+ i.setNemCode(CacheContext.wtmap.get(i.getWindturbineId()).getAname());
|
|
|
+ });
|
|
|
return list;
|
|
|
}
|
|
|
|
|
@@ -106,6 +108,9 @@ public class ProEconEquipmentInfoDayTopServiceImpl extends ServiceImpl<ProEconEq
|
|
|
qw.lambda().in(ProEconEquipmentInfoDayTop::getId, ids);
|
|
|
}
|
|
|
List<ProEconEquipmentInfoDayTop> list = baseMapper.selectList(qw);
|
|
|
+ list.stream().forEach(i->{
|
|
|
+ i.setNemCode(CacheContext.wtmap.get(i.getWindturbineId()).getAname());
|
|
|
+ });
|
|
|
resultMap.put("data", list);
|
|
|
|
|
|
List<CompareVo> compareList = new ArrayList<>();
|