|
@ -67,7 +67,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
Category = "JIS", |
|
|
Category = "JIS", |
|
|
CarModeCode = t.Max(t => t.Extend4), |
|
|
CarModeCode = t.Max(t => t.Extend4), |
|
|
LineStationcode = t.Max(t => t.LineStationCode), |
|
|
LineStationcode = t.Max(t => t.LineStationCode), |
|
|
SequenceNumber = t.Max(t => t.Extend3), |
|
|
SequenceNumber = t.Max(t => t.Extend3), |
|
|
ParType = t.Max(t => t.Extend2), |
|
|
ParType = t.Max(t => t.Extend2), |
|
|
PN = t.Key.PN, |
|
|
PN = t.Key.PN, |
|
|
MaterialNumber = t.Max(t => t.LU), |
|
|
MaterialNumber = t.Max(t => t.LU), |
|
@ -107,7 +107,8 @@ namespace SettleAccount.Job.Services.Report |
|
|
Category = "JIS", |
|
|
Category = "JIS", |
|
|
WmsBillNum = t.Max(t => t.BillNum), |
|
|
WmsBillNum = t.Max(t => t.BillNum), |
|
|
MESConfigCode = t.Max(t => t.MESConfigCode), |
|
|
MESConfigCode = t.Max(t => t.MESConfigCode), |
|
|
ShippingDate = t.Max(t => t.BillTime), |
|
|
ShippingDate = t.Max(t => t.BillTime), |
|
|
|
|
|
AssembleData = t.Max(t => t.AssembleData), |
|
|
PN = t.Max(t => t.PN), |
|
|
PN = t.Max(t => t.PN), |
|
|
Seq = t.Max(t => t.Seq), |
|
|
Seq = t.Max(t => t.Seq), |
|
|
PjsNum = t.Max(t => t.PjsNum), |
|
|
PjsNum = t.Max(t => t.PjsNum), |
|
@ -130,7 +131,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
Qty = groupItem.Sum(t => t.Qty), |
|
|
Qty = groupItem.Sum(t => t.Qty), |
|
|
Extend2 = groupItem.Max(t => t.Extend2), |
|
|
Extend2 = groupItem.Max(t => t.Extend2), |
|
|
Extend3 = groupItem.Max(t => t.Extend3), |
|
|
Extend3 = groupItem.Max(t => t.Extend3), |
|
|
Extend4 = groupItem.Max(t => t.Extend4), |
|
|
Extend4 = groupItem.Max(t => t.Extend4), |
|
|
LineStationCode = groupItem.Max(t => t.LineStationCode) |
|
|
LineStationCode = groupItem.Max(t => t.LineStationCode) |
|
|
}; |
|
|
}; |
|
|
var seGroup = from se in _settleAccountDbContext.Set<TSe>() |
|
|
var seGroup = from se in _settleAccountDbContext.Set<TSe>() |
|
@ -144,7 +145,8 @@ namespace SettleAccount.Job.Services.Report |
|
|
LU = groupItem.Max(t => t.LU), |
|
|
LU = groupItem.Max(t => t.LU), |
|
|
BillNum = groupItem.Max(t => t.BillNum), |
|
|
BillNum = groupItem.Max(t => t.BillNum), |
|
|
MESConfigCode = groupItem.Max(t => t.MESConfigCode), |
|
|
MESConfigCode = groupItem.Max(t => t.MESConfigCode), |
|
|
BillTime = groupItem.Max(t => t.BillTime), |
|
|
BillTime = groupItem.Max(t => t.BillTime), |
|
|
|
|
|
AssembleData = groupItem.Max(t => t.AssembleData), |
|
|
Seq = groupItem.Max(t => t.Seq), |
|
|
Seq = groupItem.Max(t => t.Seq), |
|
|
PjsNum = groupItem.Max(t => t.PjsNum), |
|
|
PjsNum = groupItem.Max(t => t.PjsNum), |
|
|
ToLoc = groupItem.Max(t => t.ToLoc), |
|
|
ToLoc = groupItem.Max(t => t.ToLoc), |
|
@ -165,7 +167,8 @@ namespace SettleAccount.Job.Services.Report |
|
|
SequenceNumber = edi.Extend3, |
|
|
SequenceNumber = edi.Extend3, |
|
|
ParType = edi.Extend2, |
|
|
ParType = edi.Extend2, |
|
|
MESConfigCode = se.MESConfigCode, |
|
|
MESConfigCode = se.MESConfigCode, |
|
|
ShippingDate = se.BillTime, |
|
|
ShippingDate = se.BillTime, |
|
|
|
|
|
AssembleData=se.AssembleData, |
|
|
PN = se.PN, |
|
|
PN = se.PN, |
|
|
Seq = se.Seq, |
|
|
Seq = se.Seq, |
|
|
PjsNum = se.PjsNum, |
|
|
PjsNum = se.PjsNum, |
|
|