d1036995 张雷

奥体项目分类统计流量接口开发

1 个父辈 2d3ecf2c
......@@ -283,4 +283,26 @@ public class OlympicCenterController {
result.setSuccess(true);
return result;
}
@ApiOperation(value="分组获取相同月份的累计流量数据", notes="分组获取相同月份的累计流量数据")
@GetMapping(value = "/getYearMonthSumFlowGroup")
public Result<Map<String,Object>> getYearMonthSumFlowGroup(SumFlowParams sumFlowParams){
Result<Map<String,Object>> result = new Result<Map<String,Object>>();
Map<String,Object> map = new HashMap<>();
map = olympicCenterService.getYearMonthSumFlowGroup(sumFlowParams);
result.setResult(map);
result.setSuccess(true);
return result;
}
@ApiOperation(value="分组获取年度的累计流量数据", notes="分组获取年度的累计流量数据")
@GetMapping(value = "/getYearSumFlowGroup")
public Result<Map<String,Object>> getYearSumFlowGroup(SumFlowParams sumFlowParams){
Result<Map<String,Object>> result = new Result<Map<String,Object>>();
Map<String,Object> map = new HashMap<>();
map = olympicCenterService.getYearSumFlowGroup(sumFlowParams);
result.setResult(map);
result.setSuccess(true);
return result;
}
}
......
......@@ -53,4 +53,8 @@ public interface IOlympicCenterService {
Map<String, Object> getYearMonthSumFlow(SumFlowParams sumFlowParams);
Map<String, Object> getYearSumFlow(SumFlowParams sumFlowParams);
Map<String, Object> getYearMonthSumFlowGroup(SumFlowParams sumFlowParams);
Map<String, Object> getYearSumFlowGroup(SumFlowParams sumFlowParams);
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!