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.VoucherMain;
import pwc.taxtech.atms.vat.entity.VoucherMainExample;

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table VoucherMain
     *
     * @mbg.generated
     */
    VoucherMain selectByPrimaryKey(String voucherMainID);

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

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

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

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