From 8e0decd25b9ec86b02d58de53dee1451f83d1566 Mon Sep 17 00:00:00 2001 From: huliguo <2023611923@qq.com> Date: 星期四, 10 七月 2025 23:48:35 +0800 Subject: [PATCH] 新增 --- src/main/java/com/linghu/mapper/KeywordMapper.java | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/linghu/mapper/KeywordMapper.java b/src/main/java/com/linghu/mapper/KeywordMapper.java index a5f6071..8ca2e29 100644 --- a/src/main/java/com/linghu/mapper/KeywordMapper.java +++ b/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); } -- Gitblit v1.7.1