init
This commit is contained in:
@@ -52,6 +52,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</if>
|
||||
order by t2.last_live_time desc
|
||||
</select>
|
||||
<select id="getGreetNumId" resultType="java.lang.Long">
|
||||
select t1.id
|
||||
from cai_user t1
|
||||
where t1.status = 0 and t1.gender = 2 and t1.no_greet = 0
|
||||
and not exists(select 1 from cai_user_blacklist p1 where t1.id = p1.user_id)
|
||||
and not exists(select 1 from cai_user_blacklist p2 where t1.id = p2.black_uid)
|
||||
order by t1.update_time desc
|
||||
limit 20
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user