|
|
@@ -1,5 +1,6 @@
|
|
|
package com.dk.report.controller;
|
|
|
|
|
|
+import com.dk.common.response.ResponseResultUtil;
|
|
|
import com.dk.common.response.ResponseResultVO;
|
|
|
import com.dk.report.service.HomeReportService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
@@ -48,4 +49,18 @@ public class HomeReportController {
|
|
|
public ResponseResultVO<List<Map<String, Object>>> getHomeWarningItem(@RequestBody Map<String, Object> param) {
|
|
|
return homeReportService.getHomeWarningItem(param);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @desc : 查询检验缺陷TOP5
|
|
|
+ * @author : 洪旭东
|
|
|
+ * @date : 2023-09-08 14:35
|
|
|
+ */
|
|
|
+ @ApiOperation(
|
|
|
+ value = "查询检验缺陷TOP5",
|
|
|
+ notes = "查询检验缺陷TOP5"
|
|
|
+ )
|
|
|
+ @PostMapping({"get_top_five_defect"})
|
|
|
+ public ResponseResultVO<List<Map<String, Object>>> getTopFiveDefect(@RequestBody Map<String, Object> map) {
|
|
|
+ return homeReportService.getTopFiveDefect(map);
|
|
|
+ }
|
|
|
}
|