package cn.lili.modules.lmk.mapper; import cn.lili.modules.lmk.domain.entity.PrizeDraw; import cn.lili.modules.lmk.domain.vo.GrantRecordVO; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import cn.lili.modules.lmk.domain.vo.PrizeDrawVO; import cn.lili.modules.lmk.domain.form.PrizeDrawForm; import cn.lili.modules.lmk.domain.query.PrizeDrawQuery; import java.util.List; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; /** * 抽奖活动奖品 Mapper 接口 * * @author peng * @since 2025-08-14 */ @Mapper public interface PrizeDrawMapper extends BaseMapper { /** * id查找抽奖活动奖品 * @param id * @return */ PrizeDrawVO getById(String id); /** * 分页 */ IPage getPage(IPage page, @Param("query") PrizeDrawQuery query); List grantRecord(@Param("id")String prizeActivityId); }