package pwc.taxtech.atms.analysis.dao;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import pwc.taxtech.atms.MyAnalysisMapper;
import pwc.taxtech.atms.analysis.entity.AnalysisSales;
import pwc.taxtech.atms.analysis.entity.AnalysisSalesExample;

@Mapper
public interface AnalysisSalesMapper extends MyAnalysisMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table analysis_sales
     *
     * @mbg.generated
     */
    long countByExample(AnalysisSalesExample example);

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table analysis_sales
     *
     * @mbg.generated
     */
    List<AnalysisSales> selectByExampleWithRowbounds(AnalysisSalesExample example, RowBounds rowBounds);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table analysis_sales
     *
     * @mbg.generated
     */
    AnalysisSales selectByPrimaryKey(Long id);

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

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

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

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