Browse Source

#黔东南修改

zhongwei
yang_shj 1 year ago
parent
commit
61cbd2adcf
  1. 6
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/ecology/controller/EcologyController.java
  2. 2
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/ecology/service/EcologyFlowStationService.java
  3. 2
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/ecology/service/impl/EcologyFlowStationServiceImpl.java

6
hzims-service/operational/src/main/java/com/hnac/hzims/operational/ecology/controller/EcologyController.java

@ -54,8 +54,8 @@ public class EcologyController extends BladeController {
@PostMapping("/station_top")
@ApiOperationSupport(order = 1)
@ApiOperation(value = "站点数据及达标率排行", notes = "站点数据及达标率排行")
public R station_top(@RequestParam Long deptId) {
return R.data(stationService.station_top(deptId));
public R station_top() {
return R.data(stationService.station_top());
}
/**
@ -65,7 +65,7 @@ public class EcologyController extends BladeController {
@PostMapping("/trend_chart")
@ApiOperationSupport(order = 1)
@ApiOperation(value = "指标趋势图", notes = "指标趋势图")
public R trend_chart(@RequestParam Long deptId,@RequestParam String type) {
public R trend_chart(@RequestParam String type) {
return R.data(stationService.trend_chart(type));
}

2
hzims-service/operational/src/main/java/com/hnac/hzims/operational/ecology/service/EcologyFlowStationService.java

@ -14,7 +14,7 @@ import java.util.List;
*/
public interface EcologyFlowStationService extends BaseService<EcologyFlowStationEntity> {
EcologFlowStationVo station_top(Long deptId);
EcologFlowStationVo station_top();
Boolean generate(Long mon,String year);

2
hzims-service/operational/src/main/java/com/hnac/hzims/operational/ecology/service/impl/EcologyFlowStationServiceImpl.java

@ -96,7 +96,7 @@ public class EcologyFlowStationServiceImpl extends BaseServiceImpl<EcologyFlowSt
* @return
*/
@Override
public EcologFlowStationVo station_top(Long deptId) {
public EcologFlowStationVo station_top() {
List<EcologyFlowStationEntity> stations = this.list();
if(CollectionUtil.isEmpty(stations)){
return new EcologFlowStationVo();

Loading…
Cancel
Save