public interface InsertMapper<T>
| Modifier and Type | Method and Description |
|---|---|
int |
insert(T record)
插入数据库,`null`值也会插入,不会使用列的默认值
|
@Options(useGeneratedKeys=true,
keyProperty="id")
@InsertProvider(type=SqlServerProvider.class,
method="dynamicSQL")
int insert(T record)
record - 对象Copyright © 2020. All rights reserved.