From 10f3ac25fce517e8bf3f54bc015dfe2710c293cc Mon Sep 17 00:00:00 2001
From: puhanshu <a9236326>
Date: 星期一, 13 九月 2021 11:00:12 +0800
Subject: [PATCH] 修复志愿者报名问题

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

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActActivityServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActActivityServiceImpl.java
index 4bc5d82..f8ea3ea 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActActivityServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActActivityServiceImpl.java
@@ -456,7 +456,7 @@
             //审查用户是否有该活动报名权限(是否活动指定参与人群)
             String currentUserTags = loginUserInfoVO.getTags();
             String attendPeople = actActivityDO.getAattendPeople();
-            if (isNotBlank(attendPeople)) {
+            if (isVolunteer.intValue() == 0 && isNotBlank(attendPeople)) {
                 if (isBlank(currentUserTags)) {
                     return R.fail("您不是指定参与人群!");
                 }

--
Gitblit v1.7.1