package com.jwipc.sys.mapper;

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

import java.util.List;

/**
 * <p>
 * 税率主数据 Mapper 接口
 * </p>
 *
 * @author AL
 * @since 2024-02-22
 */
public interface TaxMapper extends BaseMapper<TaxInfo> {
    List<TaxPO> findPageByQuery(@Param("query") TaxQuery query);

    List<TaxPO> findPageByQuery(Page<TaxInfo> dbPage, @Param("query") TaxQuery query);

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

}
