|
|
|
@ -98,9 +98,9 @@ public class EcologyFlowStationServiceImpl extends BaseServiceImpl<EcologyFlowSt
|
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public EcologFlowStationVo station_top(String city) { |
|
|
|
|
public EcologFlowStationVo station_top(Long deptId) { |
|
|
|
|
List<EcologyFlowStationEntity> stations = this.list(Wrappers.<EcologyFlowStationEntity>lambdaQuery() |
|
|
|
|
.eq(EcologyFlowStationEntity::getCity,city)); |
|
|
|
|
.eq(EcologyFlowStationEntity::getCreateDept,deptId)); |
|
|
|
|
if(CollectionUtil.isEmpty(stations)){ |
|
|
|
|
return new EcologFlowStationVo(); |
|
|
|
|
} |
|
|
|
@ -134,9 +134,9 @@ public class EcologyFlowStationServiceImpl extends BaseServiceImpl<EcologyFlowSt
|
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public List<TrendChartVo> trend_chart(String city,String type) { |
|
|
|
|
public List<TrendChartVo> trend_chart(Long deptId,String type) { |
|
|
|
|
List<EcologyFlowStationEntity> stations = this.list(Wrappers.<EcologyFlowStationEntity>lambdaQuery() |
|
|
|
|
.eq(EcologyFlowStationEntity::getCity,city)); |
|
|
|
|
.eq(EcologyFlowStationEntity::getCreateDept,deptId)); |
|
|
|
|
if(CollectionUtil.isEmpty(stations)){ |
|
|
|
|
return new ArrayList<>(); |
|
|
|
|
} |
|
|
|
|