| | |
| | | @GetMapping("/overview") |
| | | @Operation(summary = "获得会计核算看板总览", |
| | | description = "收支、购销金额取自 ERP 已审核的收款单/付款单/销售订单/采购订单,资产与凭证取自本模块") |
| | | @PreAuthorize("@ss.hasPermission('finance:statistics:query')") |
| | | public CommonResult<FinStatisticsOverviewRespVO> getStatisticsOverview(@Valid FinStatisticsReqVO reqVO) { |
| | | return success(statisticsService.getStatisticsOverview(reqVO)); |
| | | } |
| | | |
| | | @GetMapping("/trend") |
| | | @Operation(summary = "获得月度收支趋势", description = "期间内没有数据的月份补 0,便于前端直接绘图") |
| | | @PreAuthorize("@ss.hasPermission('finance:statistics:query')") |
| | | public CommonResult<List<FinStatisticsTrendRespVO>> getStatisticsTrend(@Valid FinStatisticsReqVO reqVO) { |
| | | return success(statisticsService.getStatisticsTrend(reqVO)); |
| | | } |