guyue
4 天以前 d097cca97b1ab6717b37bce5cd48cca1c5ab69a1
src/main/java/com/linghu/mapper/KeywordMapper.java
@@ -2,15 +2,27 @@
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-02 16:32:19
* @Entity generator.entity.Keyword
* @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);
}