| | |
| | | package cn.lili.modules.lmk.mapper; |
| | | |
| | | import cn.lili.modules.lmk.domain.entity.ThumbsUpRecord; |
| | | import cn.lili.modules.lmk.domain.vo.CollectTypeNumVO; |
| | | import cn.lili.modules.lmk.domain.vo.SimpleMyThumbsUpVO; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import cn.lili.modules.lmk.domain.vo.ThumbsUpRecordVO; |
| | |
| | | */ |
| | | IPage getPage(IPage page, @Param("query") ThumbsUpRecordQuery query); |
| | | |
| | | /** |
| | | * 统计评论点赞数量 |
| | | * |
| | | * @return |
| | | */ |
| | | List<CollectTypeNumVO> countNumGroupByComment(); |
| | | |
| | | /** |
| | | * 统计视频点赞数量 |
| | | * |
| | | * @return |
| | | */ |
| | | List<CollectTypeNumVO> countNumGroupByVideo(); |
| | | |
| | | /** |
| | | * 根据视频id查询我的点赞 |
| | | * |
| | | * @param videoIds |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | List<SimpleMyThumbsUpVO> getThumbssByVideoIds(@Param("videoIds") List<String> videoIds, @Param("userId") String userId); |
| | | } |