提交 447b5d98 编写于 作者: ibiz4j's avatar ibiz4j

dameng批量 堆栈不够

上级 02f926b8
......@@ -36,4 +36,6 @@ rocketmq:
namesrvAddr: 172.16.170.163:9876
logging:
config: classpath:logback-spring.xml
\ No newline at end of file
config: classpath:logback-spring.xml
level:
cn.ibizlab.core.extensions.mapper.DbEntityMapper: info
\ No newline at end of file
......@@ -245,7 +245,10 @@ public class DbEntityService extends ServiceImpl<DbEntityMapper, EntityObj> impl
});
if ("dameng".equals(dstype)||"dm".equals(dstype)) {
baseMapper.saveBatchDm(entityModel, list);
List<List<EntityObj>> splist=LiteDataService.splitList(list, 100);
splist.forEach(array->{
baseMapper.saveBatchDm(entityModel, array);
});
}
else
{
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册