package com.mzl.flower.service.film;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.mzl.flower.dto.request.film.CommentLikesDTO;
|
import com.mzl.flower.dto.request.film.CommentLikesQueryDTO;
|
import com.mzl.flower.dto.response.film.CommentLikesVO;
|
import com.mzl.flower.entity.film.CommentLikes;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
/**
|
* 影视作品点赞表 服务类
|
*
|
* @author generator@Fang
|
* @since 2025-05-29
|
*/
|
public interface CommentLikesService extends IService<CommentLikes> {
|
|
void saveCommentLikes(CommentLikesDTO commentLikesDTO);
|
|
void updateCommentLikes(CommentLikesDTO commentLikesDTO);
|
void deleteCommentLikes(String id);
|
|
Page<CommentLikesVO> queryPage(CommentLikesQueryDTO commentLikesQueryDTO, Page page);
|
|
Long getLikeCountCommentId(Integer id);
|
|
Boolean isLike(Integer commentId, String userId);
|
}
|