T - 不能为空public interface InsertMapper<T>
| 限定符和类型 | 方法和说明 |
|---|---|
int |
insert(T record)
插入数据库,`null`值也会插入,不会使用列的默认值
|
@Options(useGeneratedKeys=true,
keyProperty="id")
@InsertProvider(type=SqlServerProvider.class,
method="dynamicSQL")
int insert(T record)
record - Copyright © 2017. All rights reserved.