src/main/java/com/ruoyi/quality/controller/QualityReportController.java
@@ -78,4 +78,14 @@ return AjaxResult.success(qualityReportService.getTopParameters(modelType)); } /** * 获取月度合格率环比统计数据 */ @ApiOperation("获取月度合格率环比统计数据") @PostMapping("/getMonthlyPassRateWithComparison") public AjaxResult getMonthlyPassRateWithComparison(@RequestParam("year") String year, @RequestParam("month") Integer month) { return AjaxResult.success(qualityReportService.getMonthlyPassRateWithComparison(year, month)); } }