充值活动 满足金额

This commit is contained in:
2024-11-08 17:25:26 +08:00
parent 0d8052d620
commit 8bf63d821d

View File

@@ -23,8 +23,8 @@
select *
from tb_activate
where shop_id = #{shopId}
and amount = #{amount}
ORDER BY amount desc
and amount <= #{amount}
order by amount desc
limit 1
</select>