package com.linghu.mapper;
|
|
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
|
* @description 针对表【keyword】的数据库操作Mapper
|
* @createDate 2025-07-04 20:17:33
|
* @Entity com.linghu.model.entity.Keyword
|
*/
|
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);
|
}
|