package com.tangguo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tangguo.domain.BbsMomentVote;
import com.tangguo.domain.vo.BbsVoteVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 动态投票记录Mapper接口
 *
 * @author ruoyi
 * @date 2025-09-01
 */
public interface BbsMomentVoteMapper extends BaseMapper<BbsMomentVote> {

	List<BbsVoteVO> selectVotes(@Param("momentId") Long momentId, @Param("optionCode") String optionCode);

}
