|
|
@ -313,9 +313,11 @@ ISupplierItemAppService supplierItemAppService) : base(repository) |
|
|
|
|
|
|
|
foreach (var input in inputs) |
|
|
|
{ |
|
|
|
var detail = entity.Details.FirstOrDefault(p => |
|
|
|
(string.IsNullOrEmpty(p.PoLine) || p.PoLine == input.PoLine) |
|
|
|
&& p.ItemCode == input.ItemCode); |
|
|
|
//var detail = entity.Details.FirstOrDefault(p =>
|
|
|
|
// (string.IsNullOrEmpty(p.PoLine) || p.PoLine == input.PoLine)
|
|
|
|
// && p.ItemCode == input.ItemCode);
|
|
|
|
var detail = entity.Details.FirstOrDefault(p => p.ItemCode == input.ItemCode); |
|
|
|
|
|
|
|
if (detail == null) |
|
|
|
{ |
|
|
|
continue; |
|
|
|