package com.tax.file.mapper;

import com.tax.file.model.TkFile;
import com.tax.file.model.TkFileSegment;
import com.tax.file.model.TkFileSegmentExample;
import com.yxcheng.token.common.service.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TkFileSegmentMapper  extends BaseMapper<TkFileSegmentExample,TkFileSegment> {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_file_segment
     *
     * @mbggenerated Wed Oct 20 15:27:29 CST 2021
     */
    int countByExample(TkFileSegmentExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_file_segment
     *
     * @mbggenerated Wed Oct 20 15:27:29 CST 2021
     */
    int deleteByExample(TkFileSegmentExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_file_segment
     *
     * @mbggenerated Wed Oct 20 15:27:29 CST 2021
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_file_segment
     *
     * @mbggenerated Wed Oct 20 15:27:29 CST 2021
     */
    int insert(TkFileSegment record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_file_segment
     *
     * @mbggenerated Wed Oct 20 15:27:29 CST 2021
     */
    int insertSelective(TkFileSegment record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_file_segment
     *
     * @mbggenerated Wed Oct 20 15:27:29 CST 2021
     */
    List<TkFileSegment> selectByExample(TkFileSegmentExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_file_segment
     *
     * @mbggenerated Wed Oct 20 15:27:29 CST 2021
     */
    TkFileSegment selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_file_segment
     *
     * @mbggenerated Wed Oct 20 15:27:29 CST 2021
     */
    int updateByExampleSelective(@Param("record") TkFileSegment record, @Param("example") TkFileSegmentExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_file_segment
     *
     * @mbggenerated Wed Oct 20 15:27:29 CST 2021
     */
    int updateByExample(@Param("record") TkFileSegment record, @Param("example") TkFileSegmentExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_file_segment
     *
     * @mbggenerated Wed Oct 20 15:27:29 CST 2021
     */
    int updateByPrimaryKeySelective(TkFileSegment record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_file_segment
     *
     * @mbggenerated Wed Oct 20 15:27:29 CST 2021
     */
    int updateByPrimaryKey(TkFileSegment record);

    List<TkFileSegment> queryFileSegList(TkFile tkFile);
}