This commit is contained in:
dute7liang
2023-12-23 23:39:03 +08:00
parent 6377f7f364
commit 9ec7621d2d
25 changed files with 556 additions and 6 deletions

View File

@@ -0,0 +1,16 @@
package com.ruoyi.cai.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.cai.domain.CaiAccount;
import org.apache.ibatis.annotations.Param;
/**
* 用户账户Mapper接口
*
* @author 77
* @date 2023-12-23
*/
public interface CaiAccountMapper extends BaseMapper<CaiAccount> {
boolean incs(@Param("userId") Long userId, @Param("value") Long value);
}

View File

@@ -0,0 +1,14 @@
package com.ruoyi.cai.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.cai.domain.CaiGift;
/**
* 礼物Mapper接口
*
* @author 77
* @date 2023-12-23
*/
public interface CaiGiftMapper extends BaseMapper<CaiGift> {
}

View File

@@ -17,4 +17,5 @@ public interface CaiGuardTotalMapper extends BaseMapper<CaiGuardTotal> {
List<GuardTotalVo> selectGuardTotal(@Param("fromUserId") Long fromUserId, @Param("limit") Integer limit);
void incs(@Param("fromUserId") Long fromUserId, @Param("toUserId") Long toUserId, @Param("guardNum") Long guardNum, @Param("guardValue") Long guardValue);
}