use of org.smartframework.cloud.starter.mybatis.plus.injector.methods.Truncate in project smart-cloud by smart-cloud.
the class SmartSqlInjector method getMethodList.
@Override
public List<AbstractMethod> getMethodList(Class<?> mapperClass, TableInfo tableInfo) {
List<AbstractMethod> methodList = super.getMethodList(mapperClass, tableInfo);
// 添加in-line式批量插入
methodList.add(new InsertBatchSomeColumn());
methodList.add(new Truncate(TRUNCATE_METHOD_NAME));
return methodList;
}
Aggregations