From 9812ea838a9b5779455428ebe8f4d66f09f61e82 Mon Sep 17 00:00:00 2001 From: huanghongfa <18228131219@163.com> Date: 星期三, 27 一月 2021 10:16:43 +0800 Subject: [PATCH] 社区活动 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActActivityDAO.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActActivityDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActActivityDAO.java index bcb902b..e0826b3 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActActivityDAO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActActivityDAO.java @@ -68,6 +68,12 @@ "<if test='comActActivityVO.beginAt != null '>" + "AND a.begin_at <![CDATA[ >= ]]> #{comActActivityVO.beginAt} AND a.end_at <![CDATA[ <= ]]> #{comActActivityVO.endAt} \n" + " </if> " + + "<if test='comActActivityVO.type != null and comActActivityVO.type==1 '>" + + "AND a.participant_max=0 \n" + + " </if> " + + "<if test='comActActivityVO.type != null and comActActivityVO.type==2 '>" + + "AND a.volunteer_max=0 \n" + + " </if> " + " group by a.id "+ " order by a.status asc,a.publish_at desc "+ "</script>") -- Gitblit v1.7.1