You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.4 KiB
69 lines
1.4 KiB
1 year ago
|
package com.ruoyi.system.service;
|
||
|
|
||
|
import com.ruoyi.system.domain.SysAttachFile;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* 附件文件Service接口
|
||
|
*
|
||
|
* @author ruoyi
|
||
|
* @date 2023-11-13
|
||
|
*/
|
||
|
public interface ISysAttachFileService
|
||
|
{
|
||
|
/**
|
||
|
* 查询附件文件
|
||
|
*
|
||
|
* @param id 附件文件ID
|
||
|
* @return 附件文件
|
||
|
*/
|
||
|
public SysAttachFile selectSysAttachFileById(Long id);
|
||
|
|
||
|
/**
|
||
|
* 查询附件文件列表
|
||
|
*
|
||
|
* @param sysAttachFile 附件文件
|
||
|
* @return 附件文件集合
|
||
|
*/
|
||
|
public List<SysAttachFile> selectSysAttachFileList(SysAttachFile sysAttachFile);
|
||
|
|
||
|
/**
|
||
|
* 新增附件文件
|
||
|
*
|
||
|
* @param sysAttachFile 附件文件
|
||
|
* @return 结果
|
||
|
*/
|
||
|
public int insertSysAttachFile(SysAttachFile sysAttachFile);
|
||
|
|
||
|
/**
|
||
|
* 修改附件文件
|
||
|
*
|
||
|
* @param sysAttachFile 附件文件
|
||
|
* @return 结果
|
||
|
*/
|
||
|
public int updateSysAttachFile(SysAttachFile sysAttachFile);
|
||
|
|
||
|
/**
|
||
|
* 批量删除附件文件
|
||
|
*
|
||
|
* @param ids 需要删除的数据ID
|
||
|
* @return 结果
|
||
|
*/
|
||
|
public int deleteSysAttachFileByIds(String ids);
|
||
|
|
||
|
/**
|
||
|
* 删除附件文件信息
|
||
|
*
|
||
|
* @param id 附件文件ID
|
||
|
* @return 结果
|
||
|
*/
|
||
|
public int deleteSysAttachFileById(Long id);
|
||
|
|
||
|
List<SysAttachFile> getListByAttachId(Long attachId);
|
||
|
|
||
|
int delFileAndAttachById(Long id);
|
||
|
|
||
|
int updateAttachIdByIdList(Long attachId,List<String> idList);
|
||
|
}
|