| | |
| | | |
| | | import com.linghu.model.entity.Keyword; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.linghu.model.vo.KeywordStaticsVO; |
| | | import com.linghu.model.vo.PlatformProportionVO; |
| | | import com.linghu.model.vo.ResultListVO; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @author xy |
| | |
| | | */ |
| | | public interface KeywordMapper extends BaseMapper<Keyword> { |
| | | |
| | | List<KeywordStaticsVO> statics(@Param("keywordId") Integer keywordId, @Param("questionId")Integer questionId, @Param("num")Integer num); |
| | | |
| | | List<PlatformProportionVO> getResultByTypeId(@Param("keywordId") Integer keywordId, @Param("questionId")Integer questionId, @Param("num")Integer num, @Param("typeId") Integer typeId); |
| | | |
| | | List<ResultListVO> getResultByPlatformId(@Param("keywordId") Integer keywordId, @Param("questionId")Integer questionId, @Param("num")Integer num, @Param("platformId") Integer platformId); |
| | | } |
| | | |
| | | |