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.CellTemplateConfig;
import pwc.taxtech.atms.entitiy.CellTemplateConfigExample;

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

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

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

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

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

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

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

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

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

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

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

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

    List<CellTemplateConfig> getCellTemplateConfigByTemplateID(@Param("templateID") String templateID);

    int deleteCellTemplateConfigByCellTemplate(@Param("templateDbID") String templateDbID);

    void batchInsert(List<CellTemplateConfig> list);
}