修改灌溉控制器图表和流量计图标接口传参为query参数
This commit is contained in:
parent
910256b336
commit
bc0d1f97dd
@ -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()));
|
||||
}
|
||||
|
@ -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()));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user