|
@ -250,6 +250,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
on new { notHaveSaHaveSe.PN, notHaveSaHaveSe.ReplaceFactoryPartCode } equals new { haveSaNotHaveSe.PN, haveSaNotHaveSe.ReplaceFactoryPartCode } |
|
|
on new { notHaveSaHaveSe.PN, notHaveSaHaveSe.ReplaceFactoryPartCode } equals new { haveSaNotHaveSe.PN, haveSaNotHaveSe.ReplaceFactoryPartCode } |
|
|
select new SaSeCompareDiff() |
|
|
select new SaSeCompareDiff() |
|
|
{ |
|
|
{ |
|
|
|
|
|
Version = haveSaNotHaveSe.Version, |
|
|
WmsBillNum = notHaveSaHaveSe.WmsBillNum, |
|
|
WmsBillNum = notHaveSaHaveSe.WmsBillNum, |
|
|
ShippingDate = notHaveSaHaveSe.ShippingDate, |
|
|
ShippingDate = notHaveSaHaveSe.ShippingDate, |
|
|
SeqNumber = notHaveSaHaveSe.SeqNumber, |
|
|
SeqNumber = notHaveSaHaveSe.SeqNumber, |
|
@ -268,7 +269,8 @@ namespace SettleAccount.Job.Services.Report |
|
|
CustomerPartCode = haveSaNotHaveSe.CustomerPartCode, |
|
|
CustomerPartCode = haveSaNotHaveSe.CustomerPartCode, |
|
|
PartCodeDesc = haveSaNotHaveSe.PartCodeDesc, |
|
|
PartCodeDesc = haveSaNotHaveSe.PartCodeDesc, |
|
|
FactoryPartCode = haveSaNotHaveSe.FactoryPartCode, |
|
|
FactoryPartCode = haveSaNotHaveSe.FactoryPartCode, |
|
|
ReplaceFactoryPartCode = haveSaNotHaveSe.ReplaceFactoryPartCode |
|
|
ReplaceFactoryPartCode = haveSaNotHaveSe.ReplaceFactoryPartCode, |
|
|
|
|
|
IsUpdateMappingType = false |
|
|
}).ToList(); |
|
|
}).ToList(); |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
@ -279,6 +281,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
on new { notHaveSaHaveSe.ReplaceFactoryPartCode } equals new { haveSaNotHaveSe.ReplaceFactoryPartCode } |
|
|
on new { notHaveSaHaveSe.ReplaceFactoryPartCode } equals new { haveSaNotHaveSe.ReplaceFactoryPartCode } |
|
|
select new SaSeCompareDiff() |
|
|
select new SaSeCompareDiff() |
|
|
{ |
|
|
{ |
|
|
|
|
|
Version = haveSaNotHaveSe.Version, |
|
|
WmsBillNum = notHaveSaHaveSe.WmsBillNum, |
|
|
WmsBillNum = notHaveSaHaveSe.WmsBillNum, |
|
|
ShippingDate = notHaveSaHaveSe.ShippingDate, |
|
|
ShippingDate = notHaveSaHaveSe.ShippingDate, |
|
|
SeqNumber = notHaveSaHaveSe.SeqNumber, |
|
|
SeqNumber = notHaveSaHaveSe.SeqNumber, |
|
@ -297,7 +300,8 @@ namespace SettleAccount.Job.Services.Report |
|
|
CustomerPartCode = haveSaNotHaveSe.CustomerPartCode, |
|
|
CustomerPartCode = haveSaNotHaveSe.CustomerPartCode, |
|
|
PartCodeDesc = haveSaNotHaveSe.PartCodeDesc, |
|
|
PartCodeDesc = haveSaNotHaveSe.PartCodeDesc, |
|
|
FactoryPartCode = haveSaNotHaveSe.FactoryPartCode, |
|
|
FactoryPartCode = haveSaNotHaveSe.FactoryPartCode, |
|
|
ReplaceFactoryPartCode = haveSaNotHaveSe.ReplaceFactoryPartCode |
|
|
ReplaceFactoryPartCode = haveSaNotHaveSe.ReplaceFactoryPartCode, |
|
|
|
|
|
IsUpdateMappingType = false |
|
|
}).ToList(); |
|
|
}).ToList(); |
|
|
} |
|
|
} |
|
|
return secondMatchHaveSaHaveSes; |
|
|
return secondMatchHaveSaHaveSes; |
|
@ -357,7 +361,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
/// </remarks>
|
|
|
/// </remarks>
|
|
|
public virtual void HandleSaDetailsMain<T>(List<SaSeCompareDiff> saSeCompareDiffs, EnumBusinessType businessType, int version) where T : SA_BASE |
|
|
public virtual void HandleSaDetailsMain<T>(List<SaSeCompareDiff> saSeCompareDiffs, EnumBusinessType businessType, int version) where T : SA_BASE |
|
|
{ |
|
|
{ |
|
|
var haveSaHaveSes = saSeCompareDiffs.FindAll(t => t.Category == EnumPubSaSeCompareCategory.HaveSaHaveSe); |
|
|
var haveSaHaveSes = saSeCompareDiffs.FindAll(t => t.Category == EnumPubSaSeCompareCategory.HaveSaHaveSe && t.IsUpdateMappingType == true); |
|
|
if (haveSaHaveSes.Any()) |
|
|
if (haveSaHaveSes.Any()) |
|
|
{ |
|
|
{ |
|
|
//结算详情
|
|
|
//结算详情
|
|
|