奥体项目分类统计流量接口开发
正在显示
3 个修改的文件
包含
26 行增加
和
0 行删除
... | @@ -283,4 +283,26 @@ public class OlympicCenterController { | ... | @@ -283,4 +283,26 @@ public class OlympicCenterController { |
283 | result.setSuccess(true); | 283 | result.setSuccess(true); |
284 | return result; | 284 | return result; |
285 | } | 285 | } |
286 | |||
287 | @ApiOperation(value="分组获取相同月份的累计流量数据", notes="分组获取相同月份的累计流量数据") | ||
288 | @GetMapping(value = "/getYearMonthSumFlowGroup") | ||
289 | public Result<Map<String,Object>> getYearMonthSumFlowGroup(SumFlowParams sumFlowParams){ | ||
290 | Result<Map<String,Object>> result = new Result<Map<String,Object>>(); | ||
291 | Map<String,Object> map = new HashMap<>(); | ||
292 | map = olympicCenterService.getYearMonthSumFlowGroup(sumFlowParams); | ||
293 | result.setResult(map); | ||
294 | result.setSuccess(true); | ||
295 | return result; | ||
296 | } | ||
297 | |||
298 | @ApiOperation(value="分组获取年度的累计流量数据", notes="分组获取年度的累计流量数据") | ||
299 | @GetMapping(value = "/getYearSumFlowGroup") | ||
300 | public Result<Map<String,Object>> getYearSumFlowGroup(SumFlowParams sumFlowParams){ | ||
301 | Result<Map<String,Object>> result = new Result<Map<String,Object>>(); | ||
302 | Map<String,Object> map = new HashMap<>(); | ||
303 | map = olympicCenterService.getYearSumFlowGroup(sumFlowParams); | ||
304 | result.setResult(map); | ||
305 | result.setSuccess(true); | ||
306 | return result; | ||
307 | } | ||
286 | } | 308 | } | ... | ... |
... | @@ -53,4 +53,8 @@ public interface IOlympicCenterService { | ... | @@ -53,4 +53,8 @@ public interface IOlympicCenterService { |
53 | Map<String, Object> getYearMonthSumFlow(SumFlowParams sumFlowParams); | 53 | Map<String, Object> getYearMonthSumFlow(SumFlowParams sumFlowParams); |
54 | 54 | ||
55 | Map<String, Object> getYearSumFlow(SumFlowParams sumFlowParams); | 55 | Map<String, Object> getYearSumFlow(SumFlowParams sumFlowParams); |
56 | |||
57 | Map<String, Object> getYearMonthSumFlowGroup(SumFlowParams sumFlowParams); | ||
58 | |||
59 | Map<String, Object> getYearSumFlowGroup(SumFlowParams sumFlowParams); | ||
56 | } | 60 | } | ... | ... |
-
请 注册 或 登录 后发表评论