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.CellTemplate;
import pwc.taxtech.atms.entity.CellTemplateExample;

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

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

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

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

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

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

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

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

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

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

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

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

    void batchInsert2(List<CellTemplate> list);
}