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