| | |
| | | MonthlyExpenditureDto dto = homeService.monthlyExpenditure(); |
| | | return AjaxResult.success(dto); |
| | | } |
| | | |
| | | |
| | | @GetMapping("/inputOutputAnalysis") |
| | | @ApiOperation("投入产出分析") |
| | | public AjaxResult inputOutputAnalysis(@RequestParam(value = "type", defaultValue = "1") Integer type){ |
| | | List<InputOutputAnalysisDto> list = homeService.inputOutputAnalysis(type); |
| | | return AjaxResult.success(list); |
| | | } |
| | | |
| | | @GetMapping("/processOutputAnalysis") |
| | | @ApiOperation("工序产出分析") |
| | | public AjaxResult processOutputAnalysis(@RequestParam(value = "type", defaultValue = "1") Integer type){ |
| | | List<MapDto> list = homeService.processOutputAnalysis(type); |
| | | return AjaxResult.success(list); |
| | | } |
| | | |
| | | @GetMapping("/workOrderEfficiencyAnalysis") |
| | | @ApiOperation("工单执行效率分析") |
| | | public AjaxResult workOrderEfficiencyAnalysis(@RequestParam(value = "type", defaultValue = "1") Integer type){ |
| | | List<WorkOrderEfficiencyDto> list = homeService.workOrderEfficiencyAnalysis(type); |
| | | return AjaxResult.success(list); |
| | | } |
| | | |
| | | @GetMapping("/productionAccountingAnalysis") |
| | | @ApiOperation("生产核算分析") |
| | | public AjaxResult productionAccountingAnalysis(@RequestParam(value = "type", defaultValue = "1") Integer type){ |
| | | List<MapDto> list = homeService.productionAccountingAnalysis(type); |
| | | return AjaxResult.success(list); |
| | | } |
| | | |
| | | @GetMapping("/orderCount") |
| | | @ApiOperation("订单数") |
| | | public AjaxResult orderCount(){ |
| | | return AjaxResult.success(homeService.orderCount()); |
| | | } |
| | | |
| | | /********************************************************营销采购类**************************************************/ |
| | | @GetMapping("/business") |