package pwc.taxtech.atms.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.MyMapper;
import pwc.taxtech.atms.entity.StatisticAttribute;
import pwc.taxtech.atms.entity.StatisticAttributeExample;

@Mapper
public interface StatisticAttributeMapper extends MyMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_ADMIN.STATISTIC_ATTRIBUTE
     *
     * @mbg.generated
     */
    long countByExample(StatisticAttributeExample example);

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_ADMIN.STATISTIC_ATTRIBUTE
     *
     * @mbg.generated
     */
    List<StatisticAttribute> selectByExample(StatisticAttributeExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_ADMIN.STATISTIC_ATTRIBUTE
     *
     * @mbg.generated
     */
    StatisticAttribute selectByPrimaryKey(String id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_ADMIN.STATISTIC_ATTRIBUTE
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") StatisticAttribute record, @Param("example") StatisticAttributeExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_ADMIN.STATISTIC_ATTRIBUTE
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") StatisticAttribute record, @Param("example") StatisticAttributeExample example);

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

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