CellTemplateConfigMapper.java 3.58 KB
Newer Older
1 2
package pwc.taxtech.atms.dao;

gary's avatar
gary committed
3
import java.util.List;
4 5 6 7
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import pwc.taxtech.atms.MyMapper;
8 9
import pwc.taxtech.atms.entity.CellTemplateConfig;
import pwc.taxtech.atms.entity.CellTemplateConfigExample;
10 11 12 13 14

@Mapper
public interface CellTemplateConfigMapper extends MyMapper {
    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
15
     * This method corresponds to the database table cell_template_config
16 17 18 19 20 21 22
     *
     * @mbg.generated
     */
    long countByExample(CellTemplateConfigExample example);

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
23
     * This method corresponds to the database table cell_template_config
24 25 26 27 28 29 30
     *
     * @mbg.generated
     */
    int deleteByExample(CellTemplateConfigExample example);

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
31
     * This method corresponds to the database table cell_template_config
32 33 34
     *
     * @mbg.generated
     */
35
    int deleteByPrimaryKey(Long id);
36 37 38

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
39
     * This method corresponds to the database table cell_template_config
40 41 42 43 44 45 46
     *
     * @mbg.generated
     */
    int insert(CellTemplateConfig record);

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
47
     * This method corresponds to the database table cell_template_config
48 49 50 51 52 53 54
     *
     * @mbg.generated
     */
    int insertSelective(CellTemplateConfig record);

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
55
     * This method corresponds to the database table cell_template_config
56 57 58 59 60 61 62
     *
     * @mbg.generated
     */
    List<CellTemplateConfig> selectByExampleWithRowbounds(CellTemplateConfigExample example, RowBounds rowBounds);

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
63
     * This method corresponds to the database table cell_template_config
64 65 66 67 68 69 70
     *
     * @mbg.generated
     */
    List<CellTemplateConfig> selectByExample(CellTemplateConfigExample example);

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
71
     * This method corresponds to the database table cell_template_config
72 73 74
     *
     * @mbg.generated
     */
75
    CellTemplateConfig selectByPrimaryKey(Long id);
76 77 78

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
79
     * This method corresponds to the database table cell_template_config
80 81 82 83 84 85 86
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") CellTemplateConfig record, @Param("example") CellTemplateConfigExample example);

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
87
     * This method corresponds to the database table cell_template_config
88 89 90 91 92 93 94
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") CellTemplateConfig record, @Param("example") CellTemplateConfigExample example);

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
95
     * This method corresponds to the database table cell_template_config
96 97 98 99 100 101 102
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(CellTemplateConfig record);

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
103
     * This method corresponds to the database table cell_template_config
104 105 106 107 108
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(CellTemplateConfig record);

109
    List<CellTemplateConfig> getCellTemplateConfigByTemplateId(@Param("templateId") Long templateId);
eddie.woo's avatar
eddie.woo committed
110

111
    int deleteCellTemplateConfigByCellTemplate(@Param("templateId") Long templateId);
112

eddie.woo's avatar
eddie.woo committed
113
    void batchInsert(List<CellTemplateConfig> list);
114

115
    void batchInsert2(List<CellTemplateConfig> list);
116
}