package org.dromara.payment.taxRecords.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.annotation.DataColumn;
import org.dromara.common.mybatis.annotation.DataPermission;
import org.dromara.payment.taxRecords.domain.MerTaxRecords;
import org.dromara.payment.taxRecords.domain.MerTaxRecordsDetail;
import org.dromara.payment.taxRecords.domain.vo.MerTaxRecordsVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;
import java.util.Map;

/**
 * 完税证明Mapper接口
 *
 * @author LionLi
 * @date 2024-05-06
 */
public interface MerTaxRecordsMapper extends BaseMapperPlus<MerTaxRecords, MerTaxRecordsVo> {


    /***
     * 查询企业完税证明列表
     * @param page
     * @param wrapper
     * @return
     */
    @DataPermission({
        @DataColumn(key="colomField",value="t.mer_no")
    })
    Page<MerTaxRecordsVo> selTaxRecordsList(@Param("page") IPage page, @Param(Constants.WRAPPER) Wrapper wrapper);



    List<MerTaxRecords> selectCreateTxRecords(Map map);
}
