From c92f77ac03a1bbe3009891ce1d1f57f2d1091572 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期二, 24 八月 2021 15:00:25 +0800
Subject: [PATCH] 提交预约登记小程序相关代码

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java
index 330098f..793ce2b 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java
@@ -59,6 +59,8 @@
     private ComActEasyPhotoFeedbackMapper comActEasyPhotoFeedbackMapper;
     @Resource
     private ComActQuestnaireDAO comActQuestnaireDAO;
+    @Resource
+    private ComActReserveMapper comActReserveMapper;
     /**
      * 分页查询随手拍
      *
@@ -618,7 +620,16 @@
         if(!applicationQuestnaireList.isEmpty()){
             easyPhotoRewardVO.setApplicationQuestnaireList(applicationQuestnaireList);
         }
-
+        //查询社区正在进行中的banner预约/登记列表
+        List<ComActReserveIndexVo> comActReserveIndexVos=comActReserveMapper.indexBanner(communityId);
+        if(!comActReserveIndexVos.isEmpty()){
+            easyPhotoRewardVO.setComActReserveIndexBannerVos(comActReserveIndexVos);
+        }
+        //查询社区正在进行中的应用预约/登记列表
+        List<ComActReserveIndexVo> comActReserveIndexApplicationVos=comActReserveMapper.indexApplication(communityId);
+        if(!comActReserveIndexApplicationVos.isEmpty()){
+            easyPhotoRewardVO.setComActReserveIndexApplicationVos(comActReserveIndexApplicationVos);
+        }
         return R.ok(easyPhotoRewardVO);
     }
 

--
Gitblit v1.7.1