地质所 沉降监测网建设项目
chenhuan
2024-05-16 0fdd42e318f51f9e3c6581473416af1cca69877f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package com.javaweb.cms.service;
 
import com.javaweb.cms.domain.Comment;
import java.util.List;
 
/**
 * 评论Service接口
 * 
 * @author wujiyue
 * @date 2019-11-19
 */
public interface ICommentService 
{
    /**
     * 查询评论
     * 
     * @param id 评论ID
     * @return 评论
     */
    public Comment selectCommentById(Long id);
 
    /**
     * 查询评论列表
     * 
     * @param comment 评论
     * @return 评论集合
     */
    public List<Comment> selectCommentList(Comment comment);
 
    /**
     * 用于前台查询评论列表
     *
     * @param comment 评论
     * @return 评论集合
     */
    public List<Comment> selectComments(Comment comment);
 
    /**
     * 新增评论
     * 
     * @param comment 评论
     * @return 结果
     */
    public int insertComment(Comment comment);
 
    /**
     * 修改评论
     * 
     * @param comment 评论
     * @return 结果
     */
    public int updateComment(Comment comment);
 
    /**
     * 批量删除评论
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteCommentByIds(String ids);
 
    /**
     * 删除评论信息
     * 
     * @param id 评论ID
     * @return 结果
     */
    public int deleteCommentById(Long id);
 
    /**
     * 评论点赞+1
     * @param id
     * @return
     */
    public int upVote(String id);
}