From 68d9932527d3fc879b0422d7d9c29d3f9437c65c Mon Sep 17 00:00:00 2001
From: tangxiaobao <303826152@qq.com>
Date: 星期六, 31 七月 2021 21:01:15 +0800
Subject: [PATCH] 防火防汛接口开发

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

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComSwRotaService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComSwRotaService.java
index e38cf3a..c0cc5d3 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComSwRotaService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComSwRotaService.java
@@ -4,7 +4,9 @@
 import com.panzhihua.common.model.dtos.community.ComSwRotaPageDTO;
 import com.panzhihua.common.model.dtos.community.ComSwRotaSaveDTO;
 import com.panzhihua.common.model.vos.R;
+import com.panzhihua.common.model.vos.community.ComSwRotaExcelVO;
 import com.panzhihua.service_community.model.dos.ComSwRotaDO;
+import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestParam;
@@ -26,6 +28,12 @@
      */
     R pageRota(ComSwRotaPageDTO comSwRotaPageDTO);
 
+    /**
+     * 根据id查询值班表
+     * @param rotaId 值班表id
+     * @return 值班表详情
+     */
+    R detailRota(Long rotaId);
     /**
      * 新增值班表
      * @param comSwRotaSaveDTOs 新增参数
@@ -58,4 +66,11 @@
      */
     R getTotlePerson(String param,Long communityId);
 
+    /**
+     * 批量导入值班表
+     *
+     * @param list 值班表集合
+     */
+    R listSaveSwRotaExcelVO(List<ComSwRotaExcelVO> list, Long communityId);
+
 }

--
Gitblit v1.7.1