Interface InsertMapper<T>
- Type Parameters:
T- 泛型
- All Known Subinterfaces:
SqlServerMapper<T>
public interface InsertMapper<T>
SqlServer,插入
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Method Summary
-
Method Details
-
insert
@Options(useGeneratedKeys=true) @InsertProvider(type=SqlServerProvider.class, method="dynamicSQL") int insert(T record) 插入数据库,`null`值也会插入,不会使用列的默认值- Parameters:
record- 记录值- Returns:
- the int 操作结果
-