| | |
| | | @ApiOperation(value = "按指定类型统计合同数量") |
| | | @GetMapping("/productOrderChart") |
| | | public ResultBody productOrderChart(@RequestParam Map<String, Object> params) { |
| | | OrderChartVo orderChartVo=productOrderDetailService.productOrderChart(params); |
| | | List<OrderChartVo> orderChartVo=productOrderDetailService.productOrderChart(params); |
| | | return ResultBody.ok().data(orderChartVo).msg("数据获取成功!") ; |
| | | } |
| | | |
| | |
| | | @ApiOperation(value = "统计产品的使用数量") |
| | | @GetMapping("/proCountChart") |
| | | public ResultBody proCountChart() { |
| | | OrderChartVo orderChartVo=productOrderDetailService.proCountChart(); |
| | | List<OrderChartVo> orderChartVo=productOrderDetailService.proCountChart(); |
| | | return ResultBody.ok().data(orderChartVo).msg("数据获取成功!") ; |
| | | } |
| | | } |