| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- package com.ylx.order.service;
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.ylx.common.core.domain.model.WxLoginUser;
- import com.ylx.order.domain.TCommentUser;
- import com.ylx.order.domain.dto.OrderCommentDTO;
- 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);
- /**
- * 提交评论(入库+生成审核记录)
- * @param dto 评论DTO
- */
- void submitComment(OrderCommentDTO dto);
- }
|