tk.mybatis.mapper.provider.base.BaseInsertProvider Java Examples
The following examples show how to use
tk.mybatis.mapper.provider.base.BaseInsertProvider.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PgBaseMapper.java From jvue-admin with MIT License | 2 votes |
/** * 保存一个实体,null的属性也会保存,不会使用数据库默认值 * * @param record * @return */ @Options(useGeneratedKeys = true, keyColumn = "id", keyProperty = "id") @InsertProvider(type = BaseInsertProvider.class, method = "dynamicSQL") int insert(T record);
Example #2
Source File: PgBaseMapper.java From jvue-admin with MIT License | 2 votes |
/** * 保存一个实体,null的属性不会保存,会使用数据库默认值 * * @param record * @return */ @Options(useGeneratedKeys = true, keyColumn = "id", keyProperty = "id") @InsertProvider(type = BaseInsertProvider.class, method = "dynamicSQL") int insertSelective(T record);
Example #3
Source File: PgInsertMapper.java From jvue-admin with MIT License | 2 votes |
/** * 保存一个实体,null的属性也会保存,不会使用数据库默认值 * * @param record * @return */ @Options(useGeneratedKeys = true, keyColumn = "id", keyProperty = "id") @InsertProvider(type = BaseInsertProvider.class, method = "dynamicSQL") int insert(T record);
Example #4
Source File: PgInsertMapper.java From jvue-admin with MIT License | 2 votes |
/** * 保存一个实体,null的属性不会保存,会使用数据库默认值 * * @param record * @return */ @Options(useGeneratedKeys = true, keyColumn = "id", keyProperty = "id") @InsertProvider(type = BaseInsertProvider.class, method = "dynamicSQL") int insertSelective(T record);
Example #5
Source File: InsertMapper.java From tk-mybatis with MIT License | 2 votes |
/** * 保存一个实体,null的属性也会保存,不会使用数据库默认值 * * @param record * @return */ @InsertProvider(type = BaseInsertProvider.class, method = "dynamicSQL") int insert(T record);
Example #6
Source File: InsertSelectiveMapper.java From tk-mybatis with MIT License | 2 votes |
/** * 保存一个实体,null的属性不会保存,会使用数据库默认值 * * @param record * @return */ @InsertProvider(type = BaseInsertProvider.class, method = "dynamicSQL") int insertSelective(T record);
Example #7
Source File: InsertMapper.java From Mapper with MIT License | 2 votes |
/** * 保存一个实体,null的属性也会保存,不会使用数据库默认值 * * @param record * @return */ @InsertProvider(type = BaseInsertProvider.class, method = "dynamicSQL") int insert(T record);
Example #8
Source File: InsertSelectiveMapper.java From Mapper with MIT License | 2 votes |
/** * 保存一个实体,null的属性不会保存,会使用数据库默认值 * * @param record * @return */ @InsertProvider(type = BaseInsertProvider.class, method = "dynamicSQL") int insertSelective(T record);