From c92c380b8f29ad485024d3d1948d0d0fce56b0d6 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期三, 13 四月 2022 20:48:47 +0800
Subject: [PATCH] 党员双报到,问题清单,需求清单,资源清单接口开发

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleServiceImpl.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleServiceImpl.java
index 8935ff6..c70462f 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleServiceImpl.java
@@ -307,6 +307,7 @@
         comActNeighborCircleDO.setLastCommentNum(0);
         comActNeighborCircleDO.setLastFabulousNum(0);
         comActNeighborCircleDO.setLastViewsNum(0);
+        comActNeighborCircleDO.setBelongType(addVO.getBelongType());
         this.baseMapper.insert(comActNeighborCircleDO);
         return R.ok();
     }
@@ -341,7 +342,7 @@
     public R neighborExamineByApp(ComActNeighborCircleAppDTO neighborCircleAppDTO) {
         IPage<ComActNeighborCircleAppVO> neighborCircleIPage = this.baseMapper.neighborExamineByApp(
             new Page<>(neighborCircleAppDTO.getPageNum(), neighborCircleAppDTO.getPageSize()),
-            neighborCircleAppDTO.getUserId());
+            neighborCircleAppDTO.getUserId(),neighborCircleAppDTO.getBelongType());
         if (!neighborCircleIPage.getRecords().isEmpty()) {
             for (ComActNeighborCircleAppVO circleAppVO : neighborCircleIPage.getRecords()) {
                 // 查询点赞信息

--
Gitblit v1.7.1