T - 实体类@RegisterMapper public interface InsertAllColumnMapper<T>
| Modifier and Type | Method and Description |
|---|---|
int |
insertAllColumn(T record)
创建新的记录,字段的值为 null 也会插入(不会使用数据库字段的默认值)
|
@InsertProvider(type=InsertMapperTemplate.class, method="dynamicSql") int insertAllColumn(T record)
record - 待保存的实体对象InsertMapperTemplate.insertAllColumn(app.myoss.cloud.mybatis.table.TableInfo, org.apache.ibatis.mapping.MappedStatement)Copyright © 2018–2019. All rights reserved.