教育训练处考试制证系统后端
zf
2023-09-07 67ba3d8510c75f62c53d97399d8b9ef3d01196c8
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
package com.ruoyi.file.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.file.entity.AttachmentInfo;
 
import java.util.List;
 
/**
 * @email 1603559716@qq.com
 * @author: zf
 * @date: 2023/7/24
 * @time: 13:51
 */
public interface AttachmentInfoService extends IService<AttachmentInfo> {
     AttachmentInfo findByKey(String key);
 
     AttachmentInfo findById(Long id);
 
     List<AttachmentInfo> findByBusinessId(Long businessId);
 
     List<AttachmentInfo> findByIds(List<Long> ids);
 
 
     void delete(Long id);
 
     AttachmentInfo saveOne(AttachmentInfo attachmentInfo);
 
     List<AttachmentInfo> saveBatchAttachment(List<AttachmentInfo> attachmentInfoList);
 
     void updateBusinessIdBatch(List<AttachmentInfo> attachmentList);
 
     void deleteByBusinessId(Long businessId);
}