幸运24-后台-个人-用户充值等级-查询-sql
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
from lucky_24_record r force index (lucky_24_record_partition_id_pool_type_create_time_uid_index)
|
||||
<if test="null != userRechargeLevel and '' != userRechargeLevel">
|
||||
inner join users u on r.uid = u.uid
|
||||
inner join user_recharge_level url on u.uid = url.uid and url.level = #{userRechargeLevel}
|
||||
inner join user_recharge_level url on r.uid = url.uid and url.`level` = #{userRechargeLevel}
|
||||
</if>
|
||||
where r.partition_id = #{partitionId}
|
||||
and r.pool_type in <foreach collection="poolTypeList" item="poolType" separator="," open="(" close=")">#{poolType}</foreach>
|
||||
@@ -100,7 +100,7 @@
|
||||
from lucky_24_record r force index (lucky_24_record_partition_id_pool_type_create_time_uid_index)
|
||||
<if test="null != userRechargeLevel and '' != userRechargeLevel">
|
||||
inner join users u on r.uid = u.uid
|
||||
inner join user_recharge_level url on u.uid = url.uid and url.level = #{userRechargeLevel}
|
||||
inner join user_recharge_level url on r.uid = url.uid and url.`level` = #{userRechargeLevel}
|
||||
</if>
|
||||
where r.partition_id = #{partitionId}
|
||||
and r.pool_type in <foreach collection="poolTypeList" item="poolType" separator="," open="(" close=")">#{poolType}</foreach>
|
||||
|
Reference in New Issue
Block a user