From b305b6ce82fbb975acf42af3ad450aa4c7699d5e Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期四, 26 六月 2025 14:35:46 +0800 Subject: [PATCH] 客户分析,和浏览视频记录 --- framework/src/main/java/cn/lili/modules/lmk/mapper/VideoMapper.java | 73 +++++++++++++++++++++++++++++++----- 1 files changed, 62 insertions(+), 11 deletions(-) diff --git a/framework/src/main/java/cn/lili/modules/lmk/mapper/VideoMapper.java b/framework/src/main/java/cn/lili/modules/lmk/mapper/VideoMapper.java index 0839f17..d567860 100644 --- a/framework/src/main/java/cn/lili/modules/lmk/mapper/VideoMapper.java +++ b/framework/src/main/java/cn/lili/modules/lmk/mapper/VideoMapper.java @@ -1,19 +1,14 @@ package cn.lili.modules.lmk.mapper; import cn.lili.modules.lmk.domain.entity.Video; -import cn.lili.modules.lmk.domain.query.AuthorVideoQuery; -import cn.lili.modules.lmk.domain.query.ManagerVideoQuery; -import cn.lili.modules.lmk.domain.vo.CollectTypeNumVO; -import cn.lili.modules.lmk.domain.vo.VideoAccountVO; -import cn.lili.modules.lmk.domain.vo.WxVideoVO; -import com.baomidou.mybatisplus.core.metadata.IPage; +import cn.lili.modules.lmk.domain.query.*; +import cn.lili.modules.lmk.domain.vo.*; import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import cn.lili.modules.lmk.domain.vo.VideoVO; -import cn.lili.modules.lmk.domain.form.VideoForm; -import cn.lili.modules.lmk.domain.query.VideoQuery; -import java.util.List; +import com.baomidou.mybatisplus.core.metadata.IPage; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; + +import java.util.List; /** * 瑙嗛鍐呭 Mapper 鎺ュ彛 @@ -49,7 +44,12 @@ * * @return */ - IPage recommendVideo(IPage page); + IPage recommendVideo(IPage page, @Param("query") VideoQuery query); + + IPage recommendHealthVideo(IPage page, @Param("query") WxHealthVideoQuery query); + + + IPage wxKitchenVideoQuery(IPage page, @Param("query") WxKitchenVideoQuery query); /** * 鎵归噺鏇存柊瑙嗛鏀惰棌鏁伴噺 @@ -96,4 +96,55 @@ * @param query */ IPage getAuthorVideoPage(IPage page, @Param("query") AuthorVideoQuery query); + + /** + * 鑾峰彇瑙嗛涓婚〉浣滆�呮敹钘忕殑瑙嗛鍒嗛〉 + * + * @param page + * @param query + */ + IPage getAuthorCollectVideoPage(IPage page, @Param("query") AuthorVideoQuery query); + + /** + * 灏忕▼搴�-瑙嗛璇︽儏 + * + * @param id + * @return + */ + WxEditVideoVO wxDetail(@Param("id") String id); + + /** + * 澶у仴搴疯棰戝垎椤� + * + * @param page + * @param query + */ + IPage healthPage(IPage page, @Param("query") HealthVideoQuery query); + + IPage kitchenPage(IPage page, @Param("query") KitchenVideoQuery query); + + /** + * 鑾峰彇瑙嗛鎮寕鍟嗗搧 + * + * @param videoId + * @return + */ + List<VideoGoodsDetailVO> getVideoGoods(@Param("id") String videoId); + + /** + * 鏌ヨ鐢ㄦ埛瑙嗛娴忚瓒宠抗 + * @param page + * @param query + * @return + */ + IPage videoFootPage(IPage page, FootPrintQuery query); + + /** + * 鑾峰緱鐢ㄦ埛娴忚瑙嗛瓒宠抗姹囨�绘暟鎹� + * @param id + * @return + */ + VideoFootInfoVo getVideoFootInfo(String id); + + List<VideoFootVO> videoFoot(String id); } -- Gitblit v1.8.0