init
This commit is contained in:
@@ -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);
|
||||
}
|
||||
@@ -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> {
|
||||
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user