package com.jwipc.sys.logic;

import com.jwipc.sys.dto.AttachmentTypeConfigDTO;
import com.jwipc.sys.entity.AttachmentTypeConfig;
import com.jwipc.sys.entity.BusinessAttachment;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2025/10/27 11:34
 * @desc
 */
public interface AttachmentTypeConfigLogic {
    List<AttachmentTypeConfigDTO> list();

    List<AttachmentTypeConfigDTO> listByBusinessTypeCode(String businessTypeCode);

    /**
     * 获取需要在人工校验页签展示的数据
     * @param businessTypeCode 业务类型
     * @param checkCode 配置表的【带出-校验】标识
     */
    List<AttachmentTypeConfigDTO> listNeedCheckByBusinessTypeCode(String businessTypeCode, String checkCode);


    void saveOrUpdate(List<AttachmentTypeConfig> saveList);
}
