| | |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.text.ParseException; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | return AjaxResult.success(analysisCustomerContractAmounts); |
| | | } |
| | | |
| | | @GetMapping("/analysisSupplierContractAmounts") |
| | | @Log(title = "供应商合同金额分析", businessType = BusinessType.OTHER) |
| | | @ApiOperation("供应商合同金额分析") |
| | | public AjaxResult analysisSupplierContractAmounts(AnalysisCustomerContractAmountsDto req) { |
| | | AnalysisCustomerContractAmountsDto analysisSupplierContractAmounts = homeService.analysisSupplierContractAmounts(); |
| | | return AjaxResult.success(analysisSupplierContractAmounts); |
| | | } |
| | | |
| | | @GetMapping("/qualityStatistics") |
| | | @Log(title = "质量分析", businessType = BusinessType.OTHER) |
| | | @ApiOperation("质量分析") |
| | |
| | | @GetMapping("/todos") |
| | | @Log(title = "待办事项", businessType = BusinessType.OTHER) |
| | | @ApiOperation("待办事项") |
| | | public AjaxResult todos(ApproveProcess req) { |
| | | public AjaxResult todos(ApproveProcess req) throws ParseException { |
| | | List<ApproveProcess> approveProcessList = homeService.todos(); |
| | | return AjaxResult.success(approveProcessList); |
| | | } |