package com.ruoyi.test.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.test.domain.Answer;
import com.ruoyi.test.domain.Vo.AnswerVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AnswerMapper extends BaseMapper<Answer> {
    int answer(@Param("answer") Answer answer);

    List<Answer> selectBySender(@Param("sender") String sender);
}
