package com.yeejoin.amos.boot.module.common.api.service;


import com.yeejoin.amos.boot.module.common.api.dto.AttachmentDto;
import com.yeejoin.amos.boot.module.common.api.entity.SourceFile;

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

/**
* 公共附件接口类
*
* @author system_generator
* @date 2021-07-16
*/
public interface ISourceFileService {
    Map<String, List<AttachmentDto>> getAttachments(Long sourceId);

    /**
     * 批量保存附件
     *
     * @param sequenceNbr sourceId
     * @param attachmentMap
     * @return
     */
    void saveAttachments(Long sequenceNbr, Map<String, List<AttachmentDto>> attachmentMap);
}
