diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsUnInterface.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsUnInterface.cs index 463a8571..18cb246b 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsUnInterface.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsUnInterface.cs @@ -75,7 +75,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS if (_count > 0) { var _query= _wmsRepository.Where(p => p.State == 0 && p.Version == version); - await _wmsRepository.DeleteAsync(p => p.State == 0 && p.Version == version,true); + await _query.BatchDeleteAsync(); var _query1= _wmsRepository.Where(p => p.Version == version); var _existLst = _query1.ToList();