片长查询报错问题
This commit is contained in:
parent
6beceac159
commit
12484e067b
@ -302,8 +302,7 @@ public class CommunityBossServiceImpl extends AbstractService implements ICommun
|
|||||||
return new ArrayList<>();
|
return new ArrayList<>();
|
||||||
}
|
}
|
||||||
params.put("communityBossUserIds", new ArrayList<>(userIdSet));
|
params.put("communityBossUserIds", new ArrayList<>(userIdSet));
|
||||||
params.put("communityBossParentUserIds", new ArrayList<>(userIdSet));
|
params.remove("keywords");
|
||||||
|
|
||||||
}
|
}
|
||||||
List<CommunityBossDTO> communityBossDTOs = communityBossDao.listCommunityBoss(params);
|
List<CommunityBossDTO> communityBossDTOs = communityBossDao.listCommunityBoss(params);
|
||||||
setUserInfo(communityBossDTOs);
|
setUserInfo(communityBossDTOs);
|
||||||
|
@ -196,17 +196,12 @@
|
|||||||
AND
|
AND
|
||||||
t1.community_boss_id = #{communityBossId}
|
t1.community_boss_id = #{communityBossId}
|
||||||
</if>
|
</if>
|
||||||
<if test="communityBossUserIds != null and communityBossUserIds.size > 0 and communityBossParentUserIds != null and communityBossParentUserIds.size > 0">
|
<if test="communityBossUserIds != null and communityBossUserIds.size > 0">
|
||||||
AND (
|
AND (
|
||||||
t1.community_boss_user_id IN
|
t1.community_boss_user_id IN
|
||||||
<foreach collection="communityBossUserIds" index="index" open="(" separator="," close=")">
|
<foreach collection="communityBossUserIds" index="index" open="(" separator="," close=")">
|
||||||
#{communityBossUserIds[${index}]}
|
#{communityBossUserIds[${index}]}
|
||||||
</foreach>
|
</foreach>
|
||||||
OR
|
|
||||||
t1.community_boss_parent_user_id IN
|
|
||||||
<foreach collection="communityBossParentUserIds" index="index" open="(" separator="," close=")">
|
|
||||||
#{communityBossParentUserIds[${index}]}
|
|
||||||
</foreach>
|
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
<if test="communityBossParentUserIds != null and communityBossParentUserIds.size > 0">
|
<if test="communityBossParentUserIds != null and communityBossParentUserIds.size > 0">
|
||||||
|
Loading…
Reference in New Issue
Block a user