|
|
@ -119,6 +119,8 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
MaterialDes = t.Max(t => t.PartDesc), |
|
|
|
SEQty = t.Sum(t => t.Qty), |
|
|
|
InjectionCode = t.Max(t => t.InjectionCode), |
|
|
|
MatchNumber = t.Max(t => t.MatchNumber), |
|
|
|
CodeType= t.Max(t => t.CodeType), |
|
|
|
DiffDesc = "WMS有发货EDI无订单" |
|
|
|
}).ToList(); |
|
|
|
//有EDI有发运
|
|
|
@ -154,7 +156,9 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
ErpToLoc = groupItem.Max(t => t.ErpToLoc), |
|
|
|
CustPartCode = groupItem.Max(t => t.CustPartCode), |
|
|
|
PartDesc = groupItem.Max(t => t.PartDesc), |
|
|
|
InjectionCode = groupItem.Max(t => t.InjectionCode) |
|
|
|
InjectionCode = groupItem.Max(t => t.InjectionCode), |
|
|
|
MatchNumber = groupItem.Max(t => t.MatchNumber), |
|
|
|
CodeType = groupItem.Max(t => t.CodeType) |
|
|
|
}; |
|
|
|
var haveEdiHaveSeList = (from edi in ediGroup |
|
|
|
join se in seGroup |
|
|
@ -179,9 +183,10 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
MaterialDes = se.PartDesc, |
|
|
|
SEQty = se.Qty, |
|
|
|
EdiQty = edi.Qty, |
|
|
|
AssemblyDate = default, |
|
|
|
MatchNumber = default, |
|
|
|
AssemblyDate = default, |
|
|
|
InjectionCode = se.InjectionCode, |
|
|
|
MatchNumber =se.MatchNumber, |
|
|
|
CodeType =se.CodeType, |
|
|
|
DiffDesc = "WMS有发货EDI有订单" |
|
|
|
}).ToList(); |
|
|
|
haveEdiHaveSeList.ForEach(t => t.SequenceNumber = GetSequenceNumberDate(t.SequenceNumber)); |
|
|
|