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.entitiy.OrganizationStructure;
import pwc.taxtech.atms.entitiy.OrganizationStructureExample;

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

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

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

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

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

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

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

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

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

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

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

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

    int bulkInsert(List<OrganizationStructure> records);
}