| | |
| | | package cn.lili.modules.lmk.mapper; |
| | | |
| | | import cn.lili.modules.lmk.domain.entity.Video; |
| | | import cn.lili.modules.lmk.domain.es.VideoIndex; |
| | | import cn.lili.modules.lmk.domain.query.*; |
| | | import cn.lili.modules.lmk.domain.vo.*; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | |
| | | void updateCommentNumBatch(@Param("list") List<CollectTypeNumVO> numList); |
| | | |
| | | /** |
| | | * 批量更新视频点赞数 |
| | | * |
| | | * @param numList |
| | | */ |
| | | void updateThumbsUpNumBatch(@Param("list") List<CollectTypeNumVO> numList); |
| | | |
| | | /** |
| | | * 视频主页作者信息 |
| | | * |
| | | * @param authorId |
| | |
| | | IPage getAuthorCollectVideoPage(IPage page, @Param("query") AuthorVideoQuery query); |
| | | |
| | | /** |
| | | * 获取视频主页作者点赞的视频分页 |
| | | * |
| | | * @param page |
| | | * @param query |
| | | */ |
| | | IPage getAuthorLikeVideoPage(IPage page, @Param("query") AuthorVideoQuery query); |
| | | |
| | | /** |
| | | * 小程序-视频详情 |
| | | * |
| | | * @param id |
| | |
| | | * @return |
| | | */ |
| | | List<VideoGoodsDetailVO> getVideoGoods(@Param("id") String videoId); |
| | | |
| | | /** |
| | | * es同步查询视频数据 |
| | | * |
| | | * @param start 开始位置 |
| | | * @param pageSize 每页条数 |
| | | * @return |
| | | */ |
| | | List<VideoIndex> getEsPage(@Param("start") int start, @Param("pageSize") int pageSize); |
| | | } |