From 3bcb509165813e4fb50989e3b7ed6fc6dfb082a6 Mon Sep 17 00:00:00 2001 From: guyue <1721849008@qq.com> Date: 星期四, 17 七月 2025 19:20:19 +0800 Subject: [PATCH] 修改token拦截器 --- src/main/java/com/linghu/mapper/KeywordMapper.java | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/linghu/mapper/KeywordMapper.java b/src/main/java/com/linghu/mapper/KeywordMapper.java index 267f6d3..54b14ed 100644 --- a/src/main/java/com/linghu/mapper/KeywordMapper.java +++ b/src/main/java/com/linghu/mapper/KeywordMapper.java @@ -2,6 +2,13 @@ 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 @@ -11,6 +18,13 @@ */ 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); + + List<Integer> getTypeIds(@Param("keywordId") Integer keywordId, @Param("questionId") Integer questionId, @Param("isNow") Integer isNow,@Param("keyword") Keyword keyword); } -- Gitblit v1.7.1