From 2e64c232ab6b51b2cecf1ee96e1e9b709234f326 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期六, 21 八月 2021 16:35:14 +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