线程池-云信发批量房间消息转移到async线程池
This commit is contained in:
@@ -92,7 +92,9 @@
|
||||
</select>
|
||||
|
||||
<select id="listValidRoomsByPartitionId" resultMap="RoomResultMap">
|
||||
select * from room where uid <> #{roomUid} and partition_id = #{partitionId} and valid = 1 and online_num > 0 order by online_num desc
|
||||
select * from room where 1=1
|
||||
<if test="null != roomUid" > and uid <> #{roomUid} </if>
|
||||
and partition_id = #{partitionId} and valid = 1 and online_num > 0 order by online_num desc
|
||||
</select>
|
||||
|
||||
</mapper>
|
Reference in New Issue
Block a user