补说明

This commit is contained in:
yzp 2024-11-27 11:05:21 +08:00
parent 361e8d1f92
commit adfda5a902

View File

@ -60,7 +60,8 @@ public class EnumToDictJob : IJob
if (newSysDictDatas.Count > 0)
{
//达梦 下用db.Insertable(newDictTypes).ExecuteCommandAsync(stoppingToken);插入400条以上会内容溢出错误所以改用逐条插入
//达梦 下用db.Insertable(newDictTypes).ExecuteCommandAsync(stoppingToken);插入400条以上会内容溢出错误所以改用逐条插入
//达梦 下不支持storageable2.BulkUpdateAsync 功能,注意使用
foreach (var dd in newSysDictDatas)
await db.Insertable(dd).ExecuteCommandAsync(stoppingToken);
}
@ -70,7 +71,8 @@ public class EnumToDictJob : IJob
if (newDictDatas.Count > 0)
{
//达梦 下用db.Insertable(newDictTypes).ExecuteCommandAsync(stoppingToken);插入400条以上会内容溢出错误所以改用逐条插入
//达梦 下用db.Insertable(newDictTypes).ExecuteCommandAsync(stoppingToken);插入400条以上会内容溢出错误所以改用逐条插入
//达梦 下不支持storageable2.BulkUpdateAsync 功能,注意使用
foreach (var dd in newDictDatas)
await db.Insertable(dd).ExecuteCommandAsync(stoppingToken);
}