init
This commit is contained in:
@@ -21,6 +21,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</where>
|
||||
order by id desc
|
||||
</select>
|
||||
<select id="listUserVipMaster" resultType="com.ruoyi.xq.domain.UserVip">
|
||||
select t1.user_id, max(t1.vip_type) as vip_type
|
||||
from xq_user_vip t1
|
||||
where
|
||||
and t1.vip_status = 1
|
||||
and t1.vip_timeout <= now()
|
||||
and t1.user_id in
|
||||
<foreach collection="userIdList" item="value" open="(" close=")" separator="," >
|
||||
#{value}
|
||||
</foreach>
|
||||
group by t1.user_id
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user