<if test="listMemberids != null">
and memberid in
<foreach collection="listMemberids" index="index" item="item" open="(" separator="," close=")">
#{item,jdbcType=VARCHAR}
</foreach>
</if>
<if test="mallname != null and mallname != ''">
and storename LIKE CONCAT('%',#{mallname,jdbcType=CHAR},'%')
</if>
<![CDATA[ ORDER BY i.memberid ]]>