23 lines
545 B
Java
23 lines
545 B
Java
package com.ruoyi.cai.mapper;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.ruoyi.cai.domain.UserGift;
|
|
import com.ruoyi.cai.dto.app.vo.index.UserGiftIndexVo;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 礼物记录Mapper接口
|
|
*
|
|
* @author 77
|
|
* @date 2023-12-23
|
|
*/
|
|
public interface UserGiftMapper extends BaseMapper<UserGift> {
|
|
|
|
List<UserGiftIndexVo> selectGiftList(@Param("userId") Long userId);
|
|
|
|
long countGiftNum(@Param("fromUid") Long fromUid, @Param("toUid") Long toUid);
|
|
|
|
}
|