补说明
This commit is contained in:
parent
361e8d1f92
commit
adfda5a902
@ -61,6 +61,7 @@ public class EnumToDictJob : IJob
|
|||||||
if (newSysDictDatas.Count > 0)
|
if (newSysDictDatas.Count > 0)
|
||||||
{
|
{
|
||||||
//达梦 下用db.Insertable(newDictTypes).ExecuteCommandAsync(stoppingToken);插入400条以上会内容溢出错误,所以改用逐条插入
|
//达梦 下用db.Insertable(newDictTypes).ExecuteCommandAsync(stoppingToken);插入400条以上会内容溢出错误,所以改用逐条插入
|
||||||
|
//达梦 下不支持storageable2.BulkUpdateAsync 功能,注意使用
|
||||||
foreach (var dd in newSysDictDatas)
|
foreach (var dd in newSysDictDatas)
|
||||||
await db.Insertable(dd).ExecuteCommandAsync(stoppingToken);
|
await db.Insertable(dd).ExecuteCommandAsync(stoppingToken);
|
||||||
}
|
}
|
||||||
@ -71,6 +72,7 @@ public class EnumToDictJob : IJob
|
|||||||
if (newDictDatas.Count > 0)
|
if (newDictDatas.Count > 0)
|
||||||
{
|
{
|
||||||
//达梦 下用db.Insertable(newDictTypes).ExecuteCommandAsync(stoppingToken);插入400条以上会内容溢出错误,所以改用逐条插入
|
//达梦 下用db.Insertable(newDictTypes).ExecuteCommandAsync(stoppingToken);插入400条以上会内容溢出错误,所以改用逐条插入
|
||||||
|
//达梦 下不支持storageable2.BulkUpdateAsync 功能,注意使用
|
||||||
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