package com.dxhy.core.job.dao;

import com.dxhy.core.entity.SysConfigEntity;
import com.dxhy.core.entity.TDxRecordInvoice;
import com.dxhy.core.job.entity.TAcOrg;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface CheckOneDao {


    List<TDxRecordInvoice> getRecordList(@Param("taxNo") String taxNo, @Param("rows") int rows);

    void updateStatus(@Param("invoiceStatus") String invoiceStatus, @Param("uuid") String uuid, @Param("checkSign") String checkSign);

    void updateFailStatus(@Param("taxNo") String taxNo);

    List<TDxRecordInvoice> getRecordListThreeMonth(@Param("taxNo") String taxNo, @Param("rows") int rows,
                                                   @Param("monthBegin") String monthBegin, @Param("monthEnd") String monthEnd);

    //获取查验相关配置文件
    SysConfigEntity getConfigValus(@Param("paramKey") String paramKey);

    //查询所需要查验的发票信息
    List<TAcOrg> getTaxNo();

}
