|
@@ -74,7 +74,7 @@ public class PointGenerateService {
|
|
|
for (Companys c : companysList) {
|
|
|
List<Region> regionList = regionService.getReginBycode(c.getCapacityunit());
|
|
|
for (Region r : regionList) {
|
|
|
- List<Windpowerstation> windpowerstationList = windpowerstationService.getList(r.getCompanyid());
|
|
|
+ List<Windpowerstation> windpowerstationList = windpowerstationService.getList(r.getId());
|
|
|
List<Windturbinetestingpointnew> testingList = czd(p, windpowerstationList, r);
|
|
|
for (Windturbinetestingpointnew i : testingList) {
|
|
|
boolean b = windturbinetestingpointnewService.addOrUpdate(i);
|
|
@@ -181,7 +181,7 @@ public class PointGenerateService {
|
|
|
}
|
|
|
|
|
|
|
|
|
- List<Windpowerstation> windpowerstationList = windpowerstationService.getList(r.getCompanyid());
|
|
|
+ List<Windpowerstation> windpowerstationList = windpowerstationService.getList(r.getId());
|
|
|
for (Windpowerstation station : windpowerstationList) {
|
|
|
List<Windpowerstationpointnew> list3 = windpowerstationpointnewService.getStationpointByUniformcode(station.getId(), p.getUniformcode());
|
|
|
if (null != list3 && list3.size() > 0) {
|