|
@@ -43,7 +43,7 @@ public class PowerCompareController {
|
|
|
private PhotovoltaicTestingPointNewService photovoltaicTestingPointNewService;
|
|
|
|
|
|
|
|
|
-
|
|
|
+ private final String QJJN="JN1";
|
|
|
|
|
|
IRealTimeDataBaseUtil realApiUtil = RealTimeDataBaseFactory.createRealTimeDataBase();
|
|
|
/**
|
|
@@ -145,6 +145,33 @@ public class PowerCompareController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ }else
|
|
|
+ {
|
|
|
+ if(cmId.equals(QJJN))
|
|
|
+ {
|
|
|
+ List<Windpowerstation> ls=InitialRunner.wpallls;
|
|
|
+ if(!ls.isEmpty())
|
|
|
+ {
|
|
|
+ for(Windpowerstation wp:ls)
|
|
|
+ {
|
|
|
+ WindpowerstationVo vo=new WindpowerstationVo();
|
|
|
+ vo.setCapacity(wp.getCapacity());
|
|
|
+ vo.setCode(wp.getCode());
|
|
|
+ vo.setCompanyid(wp.getCompanyid());
|
|
|
+ vo.setId(wp.getId());
|
|
|
+ vo.setLatitude(wp.getLatitude());
|
|
|
+ vo.setLongitude(wp.getLongitude());
|
|
|
+ vo.setName(wp.getName());
|
|
|
+ vo.setQuantity(wp.getQuantity());
|
|
|
+
|
|
|
+ if(InitialRunner.pjsmap.containsKey(wp.getId()))
|
|
|
+ {
|
|
|
+ vo.setPjls(InitialRunner.pjsmap.get(wp.getId()));
|
|
|
+ }
|
|
|
+ vos.add(vo);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|