提现定时任务修改

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

View File

@@ -14,5 +14,9 @@ public interface SysUserMoneyDao extends BaseMapper<SysUserMoney> {
@Update("update sys_user_money set money=money+#{money} where user_id=#{userId}")
Boolean incrMoney(@Param("money") String money, @Param("userId") Long userId);
@Update("update sys_user_money set money=money-#{money} where user_id=#{userId}")
Boolean decrMoney(@Param("money") String money, @Param("userId") Long userId);
}