加上修改原因说明

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

View File

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