package com.ruoyi.project.system.attachment.service; import java.util.List; import com.ruoyi.project.system.attachment.domain.Attachment; /** * 附件Service接口 * * @author wm * @date 2020-12-14 */ public interface IAttachmentService { /** * 查询附件 * * @param attachmentId 附件ID * @return 附件 */ Attachment selectAttachmentById(Long attachmentId); /** * 查询附件列表 * * @param attachment 附件 * @return 附件集合 */ List selectAttachmentList(Attachment attachment); /** * 新增附件 * * @param attachment 附件 * @return 结果 */ int insertAttachment(Attachment attachment); /** * 修改附件 * * @param attachment 附件 * @return 结果 */ int updateAttachment(Attachment attachment); /** * 批量删除附件 * * @param ids 需要删除的数据ID * @return 结果 */ int deleteAttachmentByIds(String ids); /** * 删除附件信息 * * @param attachmentId 附件ID * @return 结果 */ int deleteAttachmentById(Long attachmentId); }