public interface IMysqlInsertMapperPlus<T>
Modifier and Type | Method and Description |
---|---|
Integer |
addSome(T... ts)
批量/单个 新增数据
注意:本方法不使用主键生成策略 |
Integer |
addSomeIgnore(T... ts)
批量/单个 忽略式新增数据
注意:本方法不使用主键生成策略 当数据库表中存在相同主键的数据时,则忽略该条记录,继续写入其它记录 |
@InsertProvider(type=InsertMapperPlusProvider.class, method="dynamicSQL") Integer addSome(@Param(value="ts") T... ts)
ts
- @InsertProvider(type=InsertMapperPlusProvider.class, method="dynamicSQL") Integer addSomeIgnore(@Param(value="ts") T... ts)
ts
- Copyright © 2018. All rights reserved.