Browse Source

更新版本

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

2
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();

Loading…
Cancel
Save