package cn.lili.modules.lmk.service;
|
|
import cn.lili.modules.lmk.domain.entity.VideoComment;
|
import cn.lili.modules.lmk.domain.vo.CollectTypeNumVO;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import cn.lili.base.Result;
|
import cn.lili.modules.lmk.domain.form.VideoCommentForm;
|
import cn.lili.modules.lmk.domain.query.VideoCommentQuery;
|
import java.util.List;
|
|
/**
|
* 视频评论 服务类
|
*
|
* @author xp
|
* @since 2025-05-27
|
*/
|
public interface VideoCommentService extends IService<VideoComment> {
|
|
/**
|
* 添加
|
* @param form
|
* @return
|
*/
|
Result comment(VideoCommentForm form);
|
|
/**
|
* 批量删除
|
* @param ids
|
* @return
|
*/
|
Result remove(List<String> ids);
|
|
/**
|
* id删除
|
* @param id
|
* @return
|
*/
|
Result removeById(String id);
|
|
/**
|
* 分页查询
|
* @param query
|
* @return
|
*/
|
Result page(VideoCommentQuery query);
|
|
/**
|
* 根据id查找
|
* @param id
|
* @return
|
*/
|
Result detail(String id);
|
|
/**
|
* 列表
|
* @return
|
*/
|
Result all();
|
|
/**
|
* 小程序查视频评论
|
*
|
* @param query
|
* @return
|
*/
|
Result wxPage(VideoCommentQuery query);
|
|
/**
|
* 统计每个视频的评论数量
|
*
|
* @return
|
*/
|
List<CollectTypeNumVO> countNumGroupByVideo();
|
}
|