Browse Source

更新版本

FoShanPG
Administrator 3 years ago
parent
commit
580c4627e0
  1. 2
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsUnInterface.cs

2
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsUnInterface.cs

@ -127,7 +127,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS
else else
{ {
var query = _wmsRepository.Where(p => p.Version == version); var query = _wmsRepository.Where(p => p.Version == version);
_wmsRepository.GetDbContext().BulkDelete(query.ToList()); //_wmsRepository.GetDbContext().BulkDelete(query.ToList());
await query.BatchDeleteAsync(); await query.BatchDeleteAsync();
List<WmsDetailReport> _lst = new List<WmsDetailReport>(); List<WmsDetailReport> _lst = new List<WmsDetailReport>();
if (_ls != null && _ls.Count() > 0) if (_ls != null && _ls.Count() > 0)

Loading…
Cancel
Save