package com.jwipc.sys.mapper;

import com.jwipc.sys.entity.AttachmentTypeConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统附件类型配置表 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-10-27
 */
public interface AttachmentTypeConfigMapper extends BaseMapper<AttachmentTypeConfig> {

    List<AttachmentTypeConfig> listByBusinessTypeCode(@Param("businessTypeCodeField") String businessTypeCodeField, @Param("flag") Integer flag);

    List<AttachmentTypeConfig> listNeedCheckByBusinessTypeCode(@Param("businessTypeCodeField") String businessTypeCodeField, @Param("flag") Integer flag,
                                                               @Param("checkCode") String checkCode, @Param("checkCodeFlag") Integer checkCodeFlag);
}
