zhangfeng
2023-07-26 dd59c95e87ba585c4e3e2f059e218853784402e5
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.gk.hotwork.Service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.gk.hotwork.Domain.AttachmentInfo;
import com.gk.hotwork.Domain.UserInfo;
 
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, UserInfo userInfo);
 
     AttachmentInfo saveOne(AttachmentInfo attachmentInfo);
 
     List<AttachmentInfo> saveBatchAttachment(List<AttachmentInfo> attachmentInfoList);
 
     void updateBusinessIdBatch(List<AttachmentInfo> attachmentList);
 
}