main
parent
9684302ae9
commit
9cee33b8f8
|
|
@ -33,7 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<select id="selectByFriendId" parameterType="java.lang.Long" resultType="java.lang.Long">
|
||||
select DISTINCT(user_id) from app_user_friend
|
||||
<where>
|
||||
<if test="ids != null and ids.length > 0">
|
||||
<if test="ids != null and ids.size() > 0">
|
||||
friend_id in
|
||||
<foreach collection="ids" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
|
|
|
|||
Loading…
Reference in New Issue