From 2f65a830dcbea60c4e1854cd08a59410c68db724 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 02 七月 2025 16:16:04 +0800
Subject: [PATCH] 视频搜索接口,视频es索引加发布时间字段,重构视频es索引的sql完善

---
 framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java |   72 +++++++++++++++++++++++++++++-------
 1 files changed, 58 insertions(+), 14 deletions(-)

diff --git a/framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java b/framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java
index 8b8f5c4..2592ed4 100644
--- a/framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java
+++ b/framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java
@@ -1,6 +1,8 @@
 package cn.lili.modules.lmk.service;
 
 import cn.lili.group.Add;
+import cn.lili.modules.lmk.domain.entity.MyCollect;
+import cn.lili.modules.lmk.domain.entity.ThumbsUpRecord;
 import cn.lili.modules.lmk.domain.entity.Video;
 import cn.lili.modules.lmk.domain.form.*;
 import cn.lili.modules.lmk.domain.query.*;
@@ -19,20 +21,6 @@
  * @since 2025-05-16
  */
 public interface VideoService extends IService<Video> {
-
-    /**
-     * 娣诲姞
-     * @param form
-     * @return
-     */
-    Result add(WxVideoForm form);
-
-    /**
-     * 淇敼
-     * @param form
-     * @return
-     */
-    Result update(WxVideoForm form);
 
     /**
      * 鎵归噺鍒犻櫎
@@ -126,6 +114,10 @@
 
     Result healthRecommendVideo(WxHealthVideoQuery query);
 
+    Result kitchenTypeList();
+
+    Result kitchenRecommendVideo(WxKitchenVideoQuery query);
+
     /**
      * 鎵归噺鏇存柊瑙嗛鏀惰棌鏁伴噺
      *
@@ -171,6 +163,14 @@
      * @return
      */
     Result getAuthorCollectVideoPage(AuthorVideoQuery query);
+
+    /**
+     * 鑾峰彇瑙嗛涓婚〉浣滆�呯偣璧炶棰戝垎椤�
+     *
+     * @param query
+     * @return
+     */
+    Result getAuthorLikeVideoPage(AuthorVideoQuery query);
 
     /**
      * 淇濆瓨瑙嗛涓婚〉鐨勪釜浜轰俊鎭慨鏀�
@@ -253,4 +253,48 @@
      * @return
      */
     Result updatePublish(WxVideoForm form);
+
+    /**
+     * mq鎵ц瑙嗛鏀惰棌/鍙栨秷鏀惰棌
+     *
+     * @param collect
+     */
+    void mqCollectChange(MyCollect collect);
+
+    /**
+     * 閲嶅缓瑙嗛es绱㈠紩
+     *
+     * @return
+     */
+    Result recreateEsIndex();
+
+    /**
+     * 淇敼瑙嗛鐐硅禐鐘舵��
+     *
+     * @param form
+     * @return
+     */
+    Result changeThumbsUp(ThumbsUpRecordForm form);
+
+    /**
+     * mq淇敼瑙嗛鐐硅禐鐘舵��
+     *
+     * @param thumbsUpRecord
+     */
+    void mqChangeThumbsUp(ThumbsUpRecord thumbsUpRecord);
+
+    /**
+     * 鎵归噺鏇存柊瑙嗛鐐硅禐鏁伴噺
+     *
+     * @param numList
+     */
+    void updateThumbsUpNumBatch(List<CollectTypeNumVO> numList);
+
+    /**
+     * 瑙嗛鎼滅储-es
+     *
+     * @param query
+     * @return
+     */
+    Result esSearch(VideoEsQuery query);
 }

--
Gitblit v1.8.0