package com.ruoyi.project.business.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.project.business.domain.system.SysAttachment;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 附件表 Mapper 接口
 * </p>
 *
 * @author CAC
 * @since 2023-09-28
 */
public interface SysAttachmentMapper extends BaseMapper<SysAttachment> {

    //根据业务id集合、模块、分类查询 id集合中上传过附件的数据
    List<Integer> getIdsWithAttachmentsBusinessId(Map<String, Object> map);
}
