package com.ylx.massage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ylx.common.core.domain.model.WxLoginUser;
import com.ylx.massage.domain.TComment;
import com.ylx.massage.domain.TCommentUser;

import java.util.List;

/**
 * 用户评论表(TCommentUser)表服务接口
 *
 * @author makejava
 * @since 2024-08-08 10:32:07
 */
public interface TCommentUserService extends IService<TCommentUser> {

    /**
     * 新增评论
     * @param comment
     * @param wxLoginUser
     * @return Boolean
     */
    Boolean saveComment(TCommentUser comment, WxLoginUser wxLoginUser);


    /**
     * 分页查询用户评论
     * @param page
     * @param tCommentUser
     * @return Page<TCommentUser>
     */
     List<TCommentUser> selectAll(TCommentUser tCommentUser);

}

