|
|
@ -153,7 +153,8 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts |
|
|
|
|
|
|
|
|
|
|
|
var _ls1 = _lst.Where(p => p.ParentMaterialCode == p.MaterialCode).ToList(); |
|
|
|
var outPutDetail = await _wmsRepository.Where(p => p.Version == version && p.State!=4).ToListAsync(); |
|
|
|
var outPutDetail = await _wmsRepository.Where(p => p.Version == version && p.State!=4).Select(p=>new {MaterialCode=p.MaterialCode,KennCode=p.KennCode,ChassisNumber=p.ChassisNumber,BillNum=p.BillNum ,Qty=p.Qty}) |
|
|
|
.ToListAsync(); |
|
|
|
|
|
|
|
|
|
|
|
var error = from itm1 in outPutDetail |
|
|
@ -437,7 +438,8 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts |
|
|
|
_lst.AddRange(_lsCopy.ToArray()); |
|
|
|
} |
|
|
|
var _ls1 = _lst.Where(p => p.ParentMaterialCode == p.MaterialCode).ToList(); |
|
|
|
var outPutDetail = await _wmsRepository.Where(p => p.Version == input.Version && p.State != 4 ).ToListAsync(); |
|
|
|
var outPutDetail = await _wmsRepository.Where(p => p.Version == input.Version && p.State != 4 ).Select(p => new { MaterialCode = p.MaterialCode, KennCode = p.KennCode, ChassisNumber = p.ChassisNumber, BillNum = p.BillNum, Qty = p.Qty }) |
|
|
|
.ToListAsync(); |
|
|
|
|
|
|
|
var error = from itm1 in outPutDetail |
|
|
|
join itm2 in _ls1 on |
|
|
|