|
|
@ -133,7 +133,7 @@ public class HydropowerServiceImpl implements HydropowerService { |
|
|
|
public void loadHydropowerReal(String param) { |
|
|
|
public void loadHydropowerReal(String param) { |
|
|
|
// 水电站站点
|
|
|
|
// 水电站站点
|
|
|
|
List<StationEntity> stations = stationService.list(Wrappers.<StationEntity>lambdaQuery() |
|
|
|
List<StationEntity> stations = stationService.list(Wrappers.<StationEntity>lambdaQuery() |
|
|
|
.eq(StationEntity::getServeType,HomePageConstant.HYDROPOWER_SERVETYPE) |
|
|
|
//.eq(StationEntity::getServeType,HomePageConstant.HYDROPOWER_SERVETYPE)
|
|
|
|
.eq(StationEntity::getType,HomePageConstant.HYDROPOWER) |
|
|
|
.eq(StationEntity::getType,HomePageConstant.HYDROPOWER) |
|
|
|
); |
|
|
|
); |
|
|
|
if(CollectionUtil.isEmpty(stations)){ |
|
|
|
if(CollectionUtil.isEmpty(stations)){ |
|
|
@ -191,7 +191,7 @@ public class HydropowerServiceImpl implements HydropowerService { |
|
|
|
public void loadHydropowerTarget(String param) { |
|
|
|
public void loadHydropowerTarget(String param) { |
|
|
|
// 水电站站点
|
|
|
|
// 水电站站点
|
|
|
|
List<StationEntity> stations = stationService.list(Wrappers.<StationEntity>lambdaQuery() |
|
|
|
List<StationEntity> stations = stationService.list(Wrappers.<StationEntity>lambdaQuery() |
|
|
|
.eq(StationEntity::getServeType,HomePageConstant.HYDROPOWER_SERVETYPE) |
|
|
|
//.eq(StationEntity::getServeType,HomePageConstant.HYDROPOWER_SERVETYPE)
|
|
|
|
.eq(StationEntity::getType,HomePageConstant.HYDROPOWER) |
|
|
|
.eq(StationEntity::getType,HomePageConstant.HYDROPOWER) |
|
|
|
); |
|
|
|
); |
|
|
|
if(CollectionUtil.isEmpty(stations)){ |
|
|
|
if(CollectionUtil.isEmpty(stations)){ |
|
|
|