加上修改原因说明
This commit is contained in:
parent
c116a5eb9c
commit
361e8d1f92
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user