增加单日提现总额限制

This commit is contained in:
GYJ
2025-01-08 20:03:04 +08:00
parent bd8b327466
commit e78abbb6c2
5 changed files with 15 additions and 1 deletions

View File

@@ -207,5 +207,7 @@
select format(sum(money),2) from cash_out where state = #{state} and user_id = #{userId}
</select>
<select id="queryUserTodayCashOutSum" resultType="double">
select format(sum(money),2) from cash_out where state in (1, 3) and user_id = #{userId} and create_at >= #{time}
</select>
</mapper>