|
|
@@ -278,7 +278,7 @@ public class DbEngine extends JdbcEngine { |
|
|
|
if (entities == null || entities.isEmpty()) { |
|
|
|
return null; |
|
|
|
} |
|
|
|
return findDao((Class<T>) entities.get(0).getClass()).batchInsertEntity(entities, null); |
|
|
|
return findDao((Class<T>) entities.get(0).getClass()).batchInsertEntity(entities); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
@@ -293,7 +293,7 @@ public class DbEngine extends JdbcEngine { |
|
|
|
if (entities == null || entities.isEmpty()) { |
|
|
|
return null; |
|
|
|
} |
|
|
|
return findDao((Class<T>) entities.get(0).getClass()).batchInsertEntity(entities, fields); |
|
|
|
return findDao((Class<T>) entities.get(0).getClass()).batchInsertEntity(entities); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|