|
@ -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) |
|
|