添加流量计瞬时流量和累计流量的图表接口
This commit is contained in:
@ -3,7 +3,9 @@ package com.fastbee.data.controller.userRecharge;
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.fastbee.iot.domain.dto.NgFlowDeviceDataChartsDto;
|
||||
import com.fastbee.iot.domain.dto.NgFlowDeviceDataDto;
|
||||
import com.fastbee.rechargecard.domain.dto.NgWaterPumpUsageRecordsChartsDto;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@ -36,6 +38,17 @@ public class NgFlowDeviceDataController extends BaseController
|
||||
@Autowired
|
||||
private INgFlowDeviceDataService ngFlowDeviceDataService;
|
||||
|
||||
/**
|
||||
* 流量计瞬时流量累计流量的图表
|
||||
*/
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:records:list')")
|
||||
@GetMapping("/charts")
|
||||
@ApiOperation("流量计瞬时流量累计流量的图表")
|
||||
public AjaxResult FlowCharts(@RequestBody NgFlowDeviceDataChartsDto ngFlowDeviceDataChartsDto)
|
||||
{
|
||||
return success(ngFlowDeviceDataService.selectNgFlowDeviceDataFlowCharts(ngFlowDeviceDataChartsDto.getDeviceNumber(),ngFlowDeviceDataChartsDto.getStartTime(),ngFlowDeviceDataChartsDto.getEndTime()));
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询流量计设备数据列表
|
||||
*/
|
||||
|
Reference in New Issue
Block a user