package com.bailuntec.mapper;

import com.bailuntec.domain.entity.JobAccountLog;
import com.bailuntec.domain.example.JobAccountLogExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JobAccountLogMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table job_account_log
     *
     * @mbg.generated
     */
    long countByExample(JobAccountLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table job_account_log
     *
     * @mbg.generated
     */
    int deleteByExample(JobAccountLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table job_account_log
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table job_account_log
     *
     * @mbg.generated
     */
    int insert(JobAccountLog record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table job_account_log
     *
     * @mbg.generated
     */
    int insertSelective(JobAccountLog record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table job_account_log
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    JobAccountLog selectOneByExample(JobAccountLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table job_account_log
     *
     * @mbg.generated
     */
    List<JobAccountLog> selectByExample(JobAccountLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table job_account_log
     *
     * @mbg.generated
     */
    JobAccountLog selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table job_account_log
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") JobAccountLog record, @Param("example") JobAccountLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table job_account_log
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") JobAccountLog record, @Param("example") JobAccountLogExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table job_account_log
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(JobAccountLog record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table job_account_log
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(JobAccountLog record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table job_account_log
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int upsert(JobAccountLog record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table job_account_log
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int upsertSelective(JobAccountLog record);

    List<JobAccountLog> getListByPage(@Param("platformId") Integer platformId, @Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);

    List<JobAccountLog> getListByPageEbay(@Param("platformId") Integer platformId);

    List<JobAccountLog> getListByPageAmazon(@Param("platformId") Integer platformId, @Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);

}
