service-daylucky/src/main/resources/mapper/UserInfoMapper.xml
@@ -89,6 +89,18 @@ limit #{query.start},#{query.count} </select> <select id="listUserInfo" resultMap="BaseResultMap"> select <include refid="Base_Column_List"/> from user_info where 1=1 <foreach collection="userList" item="user" open=" and (" close=")" separator=" or "> #{user.uid}=id and app_id=#{user.appId} </foreach> </select> <select id="count" resultType="java.lang.Long"> select count(*)