zxl
9 天以前 9c6c57d3a81571e10a6a46446e18175067f4a8df
framework/src/main/java/cn/lili/modules/lmk/mapper/VideoCommentMapper.java
@@ -1,6 +1,8 @@
package cn.lili.modules.lmk.mapper;
import cn.lili.modules.lmk.domain.entity.VideoComment;
import cn.lili.modules.lmk.domain.query.VideoCommentMangerQuery;
import cn.lili.modules.lmk.domain.vo.CollectTypeNumVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.lili.modules.lmk.domain.vo.VideoCommentVO;
@@ -26,6 +28,9 @@
     */
    VideoCommentVO getById(String id);
    IPage getManagerPage (IPage page, @Param("query") VideoCommentMangerQuery query);
    /**
    *  分页
    */
@@ -41,10 +46,23 @@
    IPage masterCommentPage(IPage page, @Param("query") VideoCommentQuery query);
    /**
     * 小程序回复评论分页查询
     * 小程序回复评论
     *
     * @param page
     * @param query
     */
    IPage replyCommentPage(IPage page, @Param("query") VideoCommentQuery query);
    /**
     * 统计每个视频的评论数量
     *
     * @return
     */
    List<CollectTypeNumVO> countNumGroupByVideo();
    /**
     * 批量更新视频评论点赞数
     *
     * @param chunk
     */
    void updateCommentThumbsUpNumBatch(@Param("list") List<CollectTypeNumVO> chunk);
}