package com.tax.file.mapper;

import com.tax.file.model.FileReport;
import com.tax.file.model.FileReportExample;
import com.tax.file.model.TkTaxUser;
import com.yxcheng.token.common.service.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FileReportMapper extends BaseMapper<FileReportExample,FileReport> {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_report
     *
     * @mbggenerated Tue Oct 26 14:08:45 CST 2021
     */
    int countByExample(FileReportExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_report
     *
     * @mbggenerated Tue Oct 26 14:08:45 CST 2021
     */
    int deleteByExample(FileReportExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_report
     *
     * @mbggenerated Tue Oct 26 14:08:45 CST 2021
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_report
     *
     * @mbggenerated Tue Oct 26 14:08:45 CST 2021
     */
    int insert(FileReport record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_report
     *
     * @mbggenerated Tue Oct 26 14:08:45 CST 2021
     */
    int insertSelective(FileReport record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_report
     *
     * @mbggenerated Tue Oct 26 14:08:45 CST 2021
     */
    List<FileReport> selectByExample(FileReportExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_report
     *
     * @mbggenerated Tue Oct 26 14:08:45 CST 2021
     */
    FileReport selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_report
     *
     * @mbggenerated Tue Oct 26 14:08:45 CST 2021
     */
    int updateByExampleSelective(@Param("record") FileReport record, @Param("example") FileReportExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_report
     *
     * @mbggenerated Tue Oct 26 14:08:45 CST 2021
     */
    int updateByExample(@Param("record") FileReport record, @Param("example") FileReportExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_report
     *
     * @mbggenerated Tue Oct 26 14:08:45 CST 2021
     */
    int updateByPrimaryKeySelective(FileReport record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_report
     *
     * @mbggenerated Tue Oct 26 14:08:45 CST 2021
     */
    int updateByPrimaryKey(FileReport record);

    List<FileReport> queryInitFileDayReport(TkTaxUser taxUser);

    FileReport queryFileDayReport(FileReport fileReport);
}