package pwc.taxtech.atms.vat.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.MyVatMapper;
import pwc.taxtech.atms.vat.entity.GoodsMapping;
import pwc.taxtech.atms.vat.entity.GoodsMappingExample;

@Mapper
public interface GoodsMappingMapper extends MyVatMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_PROJECT.GOODS_MAPPING
     *
     * @mbg.generated
     */
    long countByExample(GoodsMappingExample example);

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_PROJECT.GOODS_MAPPING
     *
     * @mbg.generated
     */
    List<GoodsMapping> selectByExample(GoodsMappingExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_PROJECT.GOODS_MAPPING
     *
     * @mbg.generated
     */
    GoodsMapping selectByPrimaryKey(String id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_PROJECT.GOODS_MAPPING
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") GoodsMapping record, @Param("example") GoodsMappingExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table TAX_PROJECT.GOODS_MAPPING
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") GoodsMapping record, @Param("example") GoodsMappingExample example);

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

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