|
|
|
@ -133,7 +133,7 @@ public class HydropowerServiceImpl implements HydropowerService {
|
|
|
|
|
public void loadHydropowerReal(String param) { |
|
|
|
|
// 水电站站点
|
|
|
|
|
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) |
|
|
|
|
); |
|
|
|
|
if(CollectionUtil.isEmpty(stations)){ |
|
|
|
@ -191,7 +191,7 @@ public class HydropowerServiceImpl implements HydropowerService {
|
|
|
|
|
public void loadHydropowerTarget(String param) { |
|
|
|
|
// 水电站站点
|
|
|
|
|
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) |
|
|
|
|
); |
|
|
|
|
if(CollectionUtil.isEmpty(stations)){ |
|
|
|
|