public interface InsertSelectiveMapper<T>
| Modifier and Type | Method and Description |
|---|---|
int |
insertSelective(T record)
保存一个实体,null的属性不会保存,会使用数据库默认值
|
@Options(useGeneratedKeys=true,
keyProperty="id")
@InsertProvider(type=SqlServerProvider.class,
method="dynamicSQL")
int insertSelective(T record)
record - 对象Copyright © 2020. All rights reserved.