Browse Source

更新版本

FoShanPG
Administrator 3 years ago
parent
commit
0947729c4e
  1. 2
      src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/SettleAccounts/SettleAccountRepository.cs

2
src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/SettleAccounts/SettleAccountRepository.cs

@ -122,7 +122,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccount
} }
BulkConfig cfg = new BulkConfig() { BulkCopyTimeout=0, BatchSize=10000, UseTempDB=true}; BulkConfig cfg = new BulkConfig() { BulkCopyTimeout=0, BatchSize=1000};
DbContext.BulkInsert(_insertls,cfg); DbContext.BulkInsert(_insertls,cfg);
} }
catch (Exception e) catch (Exception e)

Loading…
Cancel
Save