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.CitDraftAccountMapping;
import pwc.taxtech.atms.entity.CitDraftAccountMappingExample;

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

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

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

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

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

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

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

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

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

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

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

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

    int insertBatch(List<CitDraftAccountMapping> citDraftAccountMappingList);
}