| | |
| | | + " LEFT JOIN com_act ac ON u.community_id = ac.community_id\n" + " <where> " + |
| | | |
| | | "<if test='pageEldersAuthDTO.communityId != null'>" |
| | | + " AND ac.community_id = #{pageEldersAuthDTO.communityId} " + " </if> " + |
| | | + " AND ac.community_id = ${pageEldersAuthDTO.communityId} " + " </if> " + |
| | | |
| | | "<if test='pageEldersAuthDTO.sumitUserId != null'>" |
| | | + " AND ea.submit_user_id = #{pageEldersAuthDTO.sumitUserId} " + " </if> " |
| | |
| | | + " LEFT JOIN com_act ac ON u.community_id = ac.community_id\n" + " <where> " + |
| | | |
| | | "<if test='pageEldersAuthDTO.communityId != null'>" |
| | | + " AND ac.community_id = #{pageEldersAuthDTO.communityId} " + " </if> " + |
| | | + " AND ac.community_id = ${pageEldersAuthDTO.communityId} " + " </if> " + |
| | | |
| | | "<if test='pageEldersAuthDTO.ids != null and pageEldersAuthDTO.ids.length>0 '>" + " AND ea.id in " |
| | | + "<foreach collection='pageEldersAuthDTO.ids' item='id' index='index' open='(' close=')' separator=',' >\n" |