From a9e958ce3675c4950ceddd3fd6f939cdf0d2bc5a Mon Sep 17 00:00:00 2001 From: guyue <1721849008@qq.com> Date: 星期五, 25 七月 2025 19:00:20 +0800 Subject: [PATCH] 任务不存在时,更新关键词状态,更新创建订单id逻辑 --- src/main/java/com/linghu/mapper/KeywordMapper.java | 18 ++++++++++++++++-- 1 files changed, 16 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..54b14ed 100644 --- a/src/main/java/com/linghu/mapper/KeywordMapper.java +++ b/src/main/java/com/linghu/mapper/KeywordMapper.java @@ -2,15 +2,29 @@ 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); + + List<Integer> getTypeIds(@Param("keywordId") Integer keywordId, @Param("questionId") Integer questionId, @Param("isNow") Integer isNow,@Param("keyword") Keyword keyword); } -- Gitblit v1.7.1