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

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

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

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

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

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

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

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

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

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

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

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

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

    List<VatEnterpriseAccount> getListWithAccountCode(@Param("accountCode") String accountCode);
}