抽奖 获取抽奖次数

This commit is contained in:
2024-12-06 10:04:16 +08:00
parent ada714d68e
commit ece33e9299
7 changed files with 72 additions and 5 deletions

View File

@@ -4,6 +4,6 @@
<select id="countDraw" resultType="int">
SELECT count(1) FROM `disc_spinning_record` where user_id = 99 and draw_day = DATE_FORMAT(CURDATE(), '%Y-%m-%d');;
SELECT count(1) FROM `disc_spinning_record` where user_id = 99 and draw_day = DATE_FORMAT(CURDATE(), '%Y-%m-%d');
</select>
</mapper>