提现定时任务修改

This commit is contained in:
张松
2025-01-08 09:41:20 +08:00
parent e34dd90fd0
commit 6b68ad9455
4 changed files with 131 additions and 0 deletions

View File

@@ -23,4 +23,7 @@ public interface UserMoneyDao extends BaseMapper<UserMoney> {
@Update("update user_money set amount=amount+#{money} where user_id=#{userId}")
Boolean incrMoney(@Param("money") String money, @Param("userId") Long userId);
@Update("update user_money set amount=amount-#{money} where user_id=#{userId}")
Boolean decrMoney(@Param("money") String money, @Param("userId") Long userId);
}