双重预防项目-国泰新华二开定制版
SZH
2022-08-20 f9f0687195e0fe349185437d22c495d74c8d4a20
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
package com.ruoyi.project.system.attachment.mapper;
 
import java.util.List;
import com.ruoyi.project.system.attachment.domain.Attachment;
 
/**
 * 附件Mapper接口
 * 
 * @author wm
 * @date 2020-12-14
 */
public interface AttachmentMapper 
{
    /**
     * 查询附件
     * 
     * @param attachmentId 附件ID
     * @return 附件
     */
        Attachment selectAttachmentById(Long attachmentId);
 
    /**
     * 查询附件列表
     * 
     * @param attachment 附件
     * @return 附件集合
     */
    List<Attachment> selectAttachmentList(Attachment attachment);
 
    /**
     * 新增附件
     * 
     * @param attachment 附件
     * @return 结果
     */
    int insertAttachment(Attachment attachment);
 
    /**
     * 修改附件
     * 
     * @param attachment 附件
     * @return 结果
     */
    int updateAttachment(Attachment attachment);
 
    /**
     * 删除附件
     * 
     * @param attachmentId 附件ID
     * @return 结果
     */
    int deleteAttachmentById(Long attachmentId);
 
    /**
     * 批量删除附件
     * 
     * @param attachmentIds 需要删除的数据ID
     * @return 结果
     */
    int deleteAttachmentByIds(String[] attachmentIds);
}