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.payment.api.worker.domain.RemoteUserWorkerZipVo;
import org.dromara.payment.taxRecords.domain.MerTaxRecordsDetail;
import org.dromara.payment.taxRecords.domain.vo.MerTaxRecordsDetailVo;
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 MerTaxRecordsDetailMapper extends BaseMapperPlus<MerTaxRecordsDetail, MerTaxRecordsDetailVo> {


    /***
     * @Param
     * @Return
     * @Author sunzexing
     * @Date 2024-05-06 15:39
     * 说明：根据记录id，查询完税证明明细
     **/
    Page<MerTaxRecordsDetailVo> selTaxRecordDetails(@Param("page") IPage page, @Param(Constants.WRAPPER) Wrapper wrapper);


    /***
     * @Param
     * @Return
     * @Author sunzexing
     * @Date 2024-05-06 15:39
     * 说明：根据记录id，导出完税证明明细
     **/
    List<MerTaxRecordsDetailVo> selTaxRecordDetails(@Param(Constants.WRAPPER) Wrapper wrapper);


    /***
     * @Param
     * @Return
     * @Author sunzexing
     * @Date 2024-05-06 15:39
     * 说明：根据记录id，查询身份证信息
     **/
    List<RemoteUserWorkerZipVo>  selTaxRecordWorkInfo(Long trId);



    /***
     * @Param
     * @Return
     * @Author sunzexing
     * @Date 2024-05-06 15:39
     * 说明：根据记录id，查询合同信息
     **/
    List<RemoteUserWorkerZipVo>  selTaxRecordWorkHtInfo(Map map);


    /****
     * 说明：根据记录id，查询支付凭证信息
     * @param map
     * @return
     */
    List<RemoteUserWorkerZipVo> selTaxRecordWorkPayCerInfo(Map map);


    List<MerTaxRecordsDetail> selectCreateTxRecordDetails(Map map);

}
