From 5a8a90c095280fbd2106869ecd2bad10e01a57a6 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期四, 23 十二月 2021 18:10:22 +0800
Subject: [PATCH] 12/23  大屏修改

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComActReserveApi.java |   60 +++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 53 insertions(+), 7 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComActReserveApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComActReserveApi.java
index 27e24e8..a49866d 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComActReserveApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComActReserveApi.java
@@ -103,16 +103,22 @@
      * @return
      */
     @GetMapping("/detail")
-    public R detail(@RequestParam("id") Long id,@RequestParam("userId") Long userId,@RequestParam("recordId") Long recordId){
+    public R detail(@RequestParam("id") Long id,@RequestParam("userId") Long userId,@RequestParam("recordId") Long recordId,@RequestParam("isBack") Integer isBack){
         if(id!=null){
-            return comActReserveService.getById(id,userId,recordId);
+            return comActReserveService.getById(id,userId,recordId,isBack);
         }
         return R.fail();
     }
 
     /**
-     *
+     * 外部调用提交预约/登记
+     * @param comActReserveCommitVO
+     * @return
      */
+    @PostMapping("/commitNoToken")
+    public R commitNoToken(@RequestBody ComActReserveCommitVO comActReserveCommitVO){
+        return comActReserveService.commitNoToken(comActReserveCommitVO);
+    }
 
     /**
      * 小程序提交预约/登记
@@ -255,12 +261,12 @@
 
     /**
      * 导出登记明细数据
-     * @param reserveId 登记id
+     * @param pageReserveRegisterDetailedAdminDTO 登记id
      * @return  登记明细数据
      */
-    @GetMapping("/admin/register/list/export")
-    public R exportRegisterAdmin(@RequestParam("reserveId") Long reserveId){
-        return comActReserveAnswerContentService.exportRegisterAdmin(reserveId);
+    @PostMapping("/admin/register/list/export")
+    public R exportRegisterAdmin(@RequestBody PageReserveRegisterDetailedAdminDTO pageReserveRegisterDetailedAdminDTO){
+        return comActReserveAnswerContentService.exportRegisterAdmin(pageReserveRegisterDetailedAdminDTO);
     }
 
     /**
@@ -307,4 +313,44 @@
     public R registerDetailedListAdmin(@RequestBody PageReserveRegisterDetailedAdminDTO detailedAdminDTO){
         return comActReserveAnswerContentService.registerDetailedListAdmin(detailedAdminDTO);
     }
+
+    @GetMapping("/admin/register/detailed/detail")
+    public R registerDetailedDetailAdmin(@RequestParam("reserveRecordId") Long reserveRecordId){
+        return comActReserveRecordService.registerDetailedDetailAdmin(reserveRecordId);
+    }
+
+    /**
+     * 小程序查询所有进行中的预约登记
+     * @param communityId   社区id
+     * @return  社区所有进行中的预约登记列表
+     */
+    @GetMapping("/list")
+    public R list(@RequestParam("communityId") Long communityId){
+        return comActReserveService.reserveListApplets(communityId);
+    }
+
+    /**
+     * 分页查询居家隔离统计
+     * @param detailedAdminDTO
+     * @return
+     */
+    @PostMapping("/admin/register/homeQuarantine/page")
+    public R pageRegisterHomeQuarantine(@RequestBody PageReserveRegisterDetailedAdminDTO detailedAdminDTO) {
+        return comActReserveAnswerContentService.pageRegisterHomeQuarantine(detailedAdminDTO);
+    }
+
+    /**
+     * 居家隔离导出
+     * @param detailedAdminDTO
+     * @return
+     */
+    @PostMapping("/admin/homeQuarantine/export")
+    public R exportHomeQuarantine(@RequestBody PageReserveRegisterDetailedAdminDTO detailedAdminDTO) {
+        return comActReserveAnswerContentService.exportHomeQuarantine(detailedAdminDTO);
+    }
+
+    @GetMapping("/bigScreenStaticsReserve")
+    public R bigScreenStaticsReserve(@RequestParam("communityId") Long communityId){
+        return comActReserveAnswerContentService.bigScreenStaticsReserve(communityId);
+    }
 }

--
Gitblit v1.7.1