| | |
| | | package com.ruoyi.account.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.account.dto.ReportDateDto; |
| | | import com.ruoyi.account.mapper.AccountIncomeMapper; |
| | | import com.ruoyi.account.pojo.AccountExpense; |
| | | import com.ruoyi.account.pojo.AccountIncome; |
| | |
| | | */ |
| | | @GetMapping("/report/income") |
| | | @ApiOperation("财务报表图表收入年度查询") |
| | | public AjaxResult reportIncome() { |
| | | return AjaxResult.success(accountIncomeService.reportIncome()); |
| | | public AjaxResult reportIncome(ReportDateDto reportDateDto) { |
| | | return AjaxResult.success(accountIncomeService.reportIncome(reportDateDto)); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/report/expense") |
| | | @ApiOperation("财务报表图表支出年度查询") |
| | | public AjaxResult reportExpense() { |
| | | return AjaxResult.success(accountExpenseService.reportExpense()); |
| | | public AjaxResult reportExpense(ReportDateDto reportDateDto) { |
| | | return AjaxResult.success(accountExpenseService.reportExpense(reportDateDto)); |
| | | } |
| | | |
| | | |