修改灌溉控制器图表和流量计图标接口传参为query参数

This commit is contained in:
童丽然 2025-01-02 15:28:02 +08:00
parent 910256b336
commit bc0d1f97dd
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ public class NgFlowDeviceDataController extends BaseController
// @PreAuthorize("@ss.hasPermi('rechargecard:records:list')")
@GetMapping("/charts")
@ApiOperation("流量计瞬时流量累计流量的图表")
public AjaxResult FlowCharts(@RequestBody NgFlowDeviceDataChartsDto ngFlowDeviceDataChartsDto)
public AjaxResult FlowCharts( NgFlowDeviceDataChartsDto ngFlowDeviceDataChartsDto)
{
return success(ngFlowDeviceDataService.selectNgFlowDeviceDataFlowCharts(ngFlowDeviceDataChartsDto.getDeviceNumber(),ngFlowDeviceDataChartsDto.getStartTime(),ngFlowDeviceDataChartsDto.getEndTime()));
}

View File

@ -47,7 +47,7 @@ public class NgWaterPumpUsageRecordsController extends BaseController
// @PreAuthorize("@ss.hasPermi('rechargecard:records:list')")
@GetMapping("/charts/insFlow")
@ApiOperation("灌溉控制器瞬时流量的图表")
public AjaxResult insFlowCharts(@RequestBody NgWaterPumpUsageRecordsChartsDto ngWaterPumpUsageRecordsChartsDto)
public AjaxResult insFlowCharts(NgWaterPumpUsageRecordsChartsDto ngWaterPumpUsageRecordsChartsDto)
{
return success(ngWaterPumpUsageRecordsService.selectNgWaterPumpUsageRecordsInsFlowCharts(ngWaterPumpUsageRecordsChartsDto.getDeviceNumber(),ngWaterPumpUsageRecordsChartsDto.getStartTime(),ngWaterPumpUsageRecordsChartsDto.getEndTime()));
}