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);
|
|
List<AttachmentInfo> findByKeys(List<String> keys);
|
}
|