充值活动 满足金额
This commit is contained in:
@@ -23,8 +23,8 @@
|
|||||||
select *
|
select *
|
||||||
from tb_activate
|
from tb_activate
|
||||||
where shop_id = #{shopId}
|
where shop_id = #{shopId}
|
||||||
and amount = #{amount}
|
and amount <= #{amount}
|
||||||
ORDER BY amount desc
|
order by amount desc
|
||||||
limit 1
|
limit 1
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user