package com.ruoyi.system.service.grid;


import com.ruoyi.system.domain.grid.GridCompanySafeCheckAttachment;
import com.ruoyi.system.domain.grid.GridCompanySafeCheckAttachmentExample;
import com.ruoyi.system.service.BaseService;

import java.util.List;

/**
* @author Cesar
* @date  ${cTime}
* @desc WsCompanySafeCheckAttachmentService接口
*/
public interface GridCompanySafeCheckAttachmentService extends BaseService<GridCompanySafeCheckAttachment, GridCompanySafeCheckAttachmentExample> {

    /**
     * 获取安监检查的附件列表
     */
    List<GridCompanySafeCheckAttachment> listAttachments(String checkId);

    /**
     * 保存安监检查附件
     * 当attachments不传时，只执行删除操作
     */
    void saveAttachments(List<GridCompanySafeCheckAttachment> attachments, String checkId);
}
