|
@ -143,7 +143,7 @@ namespace Win.Sfs.SettleAccount.Entities.ErrorBills |
|
|
var checkList = new List<ErrorExportDto>(); |
|
|
var checkList = new List<ErrorExportDto>(); |
|
|
foreach (var itm in _ls) |
|
|
foreach (var itm in _ls) |
|
|
{ |
|
|
{ |
|
|
var _first = await _repository.FirstOrDefaultAsync(p => p.BillNum == itm.BillNum && p.MaterialCode==itm.MaterialCode && p.WmsBillNum==itm.WmsBillNum); |
|
|
var _first = await _repository.FirstOrDefaultAsync(p => p.BillNum == itm.BillNum && p.CustomerMaterialCode==itm.CustomerMaterialCode && p.WmsBillNum==itm.WmsBillNum); |
|
|
if (_first == null) |
|
|
if (_first == null) |
|
|
{ |
|
|
{ |
|
|
var entity = new ErrorBill( |
|
|
var entity = new ErrorBill( |
|
|