package com.jwipc.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.sys.entity.SupplierOrderFileSetting;
import com.jwipc.sys.model.po.SupplierOrderFileSettingPO;
import com.jwipc.sys.model.query.SupplierOrderFileSettingQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 供货商出货检验报告设置表 Mapper 接口
 * </p>
 *
 * @author Chen Tianshi
 * @since 2025-08-06 09:34:18
 */
public interface SupplierOrderFileSettingMapper extends BaseMapper<SupplierOrderFileSetting> {

    List<SupplierOrderFileSettingPO> findPageByQuery(@Param("query") SupplierOrderFileSettingQuery query);

    List<SupplierOrderFileSettingPO> findPageByQuery(Page<SupplierOrderFileSetting> dbPage,@Param("query") SupplierOrderFileSettingQuery query);

    SupplierOrderFileSettingPO getDataById(@Param("id") Long id);

    SupplierOrderFileSettingPO getDataBySupplierCode(@Param("supplierCode") String supplierCode);
}
