加上修改原因说明

This commit is contained in:
yzp 2024-11-27 10:58:01 +08:00
parent c116a5eb9c
commit 361e8d1f92

View File

@ -60,6 +60,7 @@ public class EnumToDictJob : IJob
if (newSysDictDatas.Count > 0) if (newSysDictDatas.Count > 0)
{ {
//达梦 下用db.Insertable(newDictTypes).ExecuteCommandAsync(stoppingToken);插入400条以上会内容溢出错误所以改用逐条插入
foreach (var dd in newSysDictDatas) foreach (var dd in newSysDictDatas)
await db.Insertable(dd).ExecuteCommandAsync(stoppingToken); await db.Insertable(dd).ExecuteCommandAsync(stoppingToken);
} }
@ -69,6 +70,7 @@ public class EnumToDictJob : IJob
if (newDictDatas.Count > 0) if (newDictDatas.Count > 0)
{ {
//达梦 下用db.Insertable(newDictTypes).ExecuteCommandAsync(stoppingToken);插入400条以上会内容溢出错误所以改用逐条插入
foreach (var dd in newDictDatas) foreach (var dd in newDictDatas)
await db.Insertable(dd).ExecuteCommandAsync(stoppingToken); await db.Insertable(dd).ExecuteCommandAsync(stoppingToken);
} }