package com.jwipc.sys.service.impl;

import com.jwipc.sys.entity.AttachmentTypeConfig;
import com.jwipc.sys.mapper.AttachmentTypeConfigMapper;
import com.jwipc.sys.service.IAttachmentTypeConfigService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 系统附件类型配置表 服务实现类
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-10-27
 */
@Service
public class AttachmentTypeConfigServiceImpl extends ServiceImpl<AttachmentTypeConfigMapper, AttachmentTypeConfig> implements IAttachmentTypeConfigService {

    @Override
    public List<AttachmentTypeConfig> listByBusinessTypeCode(String businessTypeCodeField, Integer flag) {
        return baseMapper.listByBusinessTypeCode(businessTypeCodeField,flag);
    }

    @Override
    public List<AttachmentTypeConfig> listNeedCheckByBusinessTypeCode(String businessTypeCodeField, Integer flag, String checkCode, Integer checkCodeFlag) {
        return baseMapper.listNeedCheckByBusinessTypeCode(businessTypeCodeField,flag,checkCode,checkCodeFlag);
    }
}
