From 788ee9ac7954d840f7d07291f6287fa9af80651c Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期二, 16 八月 2022 18:51:16 +0800 Subject: [PATCH] 服务范围优化 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActActivityMapper.xml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActActivityMapper.xml b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActActivityMapper.xml index a8ca8db..25a5984 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActActivityMapper.xml +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActActivityMapper.xml @@ -363,7 +363,10 @@ AND (a.community_id = ${comActActivityVO.communityId} OR a.check_unit_id = #{comActActivityVO.checkUnitId}) </if> <if test="comActActivityVO.checkUnitId == null"> - AND a.community_id = ${comActActivityVO.communityId} AND a.`type` != 5 + AND a.community_id = ${comActActivityVO.communityId} + <if test="comActActivityVO.type == null"> + AND a.`type` != 5 + </if> </if> </if> <if test ="comActActivityVO.phone != null and comActActivityVO.phone != """> -- Gitblit v1.7.1