| | |
| | | return AjaxResult.success(list); |
| | | } |
| | | |
| | | @GetMapping("/incomeExpenseAnalysis") |
| | | @ApiOperation("支收对比分析") |
| | | public AjaxResult incomeExpenseAnalysis(@RequestParam(value = "type", defaultValue = "1") Integer type) { |
| | | List<Map<String, Object>> result = homeService.incomeExpenseAnalysis(type); |
| | | return AjaxResult.success(result); |
| | | } |
| | | |
| | | @GetMapping("/profitTrendAnalysis") |
| | | @ApiOperation("利润趋势分析") |
| | | public AjaxResult profitTrendAnalysis(){ |
| | | List<MapDto> list = homeService.profitTrendAnalysis(); |
| | | return AjaxResult.success(list); |
| | | } |
| | | |
| | | @GetMapping("/expenseCompositionAnalysis") |
| | | @ApiOperation("构成分析") |
| | | public AjaxResult expenseCompositionAnalysis(@RequestParam(value = "type", defaultValue = "1") Integer type) { |
| | | List<MapDto> list = homeService.expenseCompositionAnalysis(type); |
| | | return AjaxResult.success(list); |
| | | } |
| | | |
| | | @GetMapping("/monthlyIncome") |
| | | @ApiOperation("月度收入") |
| | | public AjaxResult monthlyIncome(){ |
| | | MonthlyIncomeDto dto = homeService.monthlyIncome(); |
| | | return AjaxResult.success(dto); |
| | | } |
| | | |
| | | @GetMapping("/monthlyExpenditure") |
| | | @ApiOperation("月度支出") |
| | | public AjaxResult monthlyExpenditure(){ |
| | | MonthlyExpenditureDto dto = homeService.monthlyExpenditure(); |
| | | return AjaxResult.success(dto); |
| | | } |
| | | |
| | | /********************************************************营销采购类**************************************************/ |
| | | @GetMapping("/business") |
| | | @Log(title = "销售-采购-库存数据", businessType = BusinessType.OTHER) |