From c7450a8e1724528046af3683d49eaf0a06785130 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期五, 30 七月 2021 14:02:02 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/test' into test

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComSwDangerReportService.java |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComSwDangerReportService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComSwDangerReportService.java
index 66a5362..c9bd748 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComSwDangerReportService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComSwDangerReportService.java
@@ -1,7 +1,16 @@
 package com.panzhihua.service_community.service;
 
 import com.baomidou.mybatisplus.extension.service.IService;
+import com.panzhihua.common.model.dtos.community.ComSwDangerReportHandleDTO;
+import com.panzhihua.common.model.dtos.community.ComSwDangerReportRectifyDTO;
+import com.panzhihua.common.model.dtos.community.ComSwPatrolRecordPageDTO;
+import com.panzhihua.common.model.vos.R;
 import com.panzhihua.service_community.model.dos.ComSwDangerReportDO;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+
+import java.util.List;
 
 /**
  * @auther txb
@@ -10,4 +19,50 @@
  */
 public interface ComSwDangerReportService extends IService<ComSwDangerReportDO> {
 
+    /**
+     * 分页查询隐患报告
+     * @param comSwPatrolRecordPageDTO 查询参数
+     * @return 隐患报告分页集合
+     */
+    R pageDangerReport(ComSwPatrolRecordPageDTO comSwPatrolRecordPageDTO);
+
+    /**
+     * 根据隐患报告id查询详情
+     *
+     * @param dangerReportId 隐患报告id
+     * @return 隐患报告详情查询结果
+     */
+    R detailDangerReport(Long dangerReportId);
+
+    /**
+     * 根据巡查记录id查询隐患报告详情
+     *
+     * @param patrolRecordId 巡查记录id
+     * @return 隐患报告详情查询结果
+     */
+    R detailDangerReportByPrId(Long patrolRecordId);
+
+    /**
+     * 处理隐患报告
+     *
+     * @param comSwDangerReportHandleDTO 隐患报告处理参数
+     * @return 处理结果
+     */
+    R handleDangerReport(ComSwDangerReportHandleDTO comSwDangerReportHandleDTO);
+
+    /**
+     * 整改隐患报告
+     *
+     * @param comSwDangerReportRectifyDTO 隐患报告整改参数
+     * @return 整改结果
+     */
+    R rectifyDangerReport(ComSwDangerReportRectifyDTO comSwDangerReportRectifyDTO);
+
+    /**
+     * 隐患报告台账导出
+     *
+     * @param dangerReportIds
+     * @return
+     */
+    R exportDangerReport(List<Long> dangerReportIds);
 }

--
Gitblit v1.7.1