From 3b6f49f1123f68bb6d1424070600158f85b66a30 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期四, 20 三月 2025 18:55:33 +0800
Subject: [PATCH] 优化代码
---
java110-db/src/main/resources/mapper/user/OwnerAppUserServiceDaoImplMapper.xml | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/user/OwnerAppUserServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/OwnerAppUserServiceDaoImplMapper.xml
index be4dfe3..196c148 100755
--- a/java110-db/src/main/resources/mapper/user/OwnerAppUserServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/OwnerAppUserServiceDaoImplMapper.xml
@@ -176,6 +176,12 @@
<if test="communityId !=null and communityId != ''">
and t.community_id= #{communityId}
</if>
+ <if test="communityIds !=null">
+ and t.community_id in
+ <foreach collection="communityIds" open="(" close=")"
+ separator="," item="item">#{item}
+ </foreach>
+ </if>
<if test="appTypeCd !=null and appTypeCd != ''">
and t.app_type_cd= #{appTypeCd}
</if>
@@ -303,6 +309,12 @@
<if test="communityId !=null and communityId != ''">
and t.community_id= #{communityId}
</if>
+ <if test="communityIds !=null">
+ and t.community_id in
+ <foreach collection="communityIds" open="(" close=")"
+ separator="," item="item">#{item}
+ </foreach>
+ </if>
<if test="appTypeCd !=null and appTypeCd != ''">
and t.app_type_cd= #{appTypeCd}
</if>
--
Gitblit v1.8.0