From 8702c17288c16ec3d6760326e85cae37bbb10af8 Mon Sep 17 00:00:00 2001
From: songhuangfeng123 <shf18767906695@163.com>
Date: 星期三, 17 八月 2022 16:07:17 +0800
Subject: [PATCH] 事故fix统计

---
 incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/controller/AccidentReportController.java |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/controller/AccidentReportController.java b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/controller/AccidentReportController.java
index a037e86..ab0c764 100644
--- a/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/controller/AccidentReportController.java
+++ b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/controller/AccidentReportController.java
@@ -5,11 +5,9 @@
 import com.gkhy.safePlatform.commons.utils.PageUtils;
 import com.gkhy.safePlatform.commons.vo.ResultVO;
 import com.gkhy.safePlatform.incidentManage.model.dto.req.AccidentReportReqDTO;
-import com.gkhy.safePlatform.incidentManage.model.dto.resp.AccidentReportCountRespDTO;
 import com.gkhy.safePlatform.incidentManage.model.dto.resp.AccidentReportDetailRespDTO;
 import com.gkhy.safePlatform.incidentManage.model.dto.resp.AccidentReportPageRespDTO;
 import com.gkhy.safePlatform.incidentManage.query.AccidentReportQuery;
-import com.gkhy.safePlatform.incidentManage.query.AccidentReportRPCQuery;
 import com.gkhy.safePlatform.incidentManage.service.AccidentReportService;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.security.core.Authentication;
@@ -67,11 +65,4 @@
         return accidentReportService.batchDeleteAccidentReport(ids);
     }
 
-    /**
-     * 事故报告统计的rpc接口
-     */
-    @RequestMapping(value = "/count",method = RequestMethod.POST)
-    public ResultVO<List<AccidentReportCountRespDTO>> countAccidentReport(@RequestBody AccidentReportRPCQuery query){
-        return accidentReportService.countAccidentReport(query);
-    }
 }

--
Gitblit v1.9.2