|
|
@ -118,6 +118,15 @@ public class HBPO_SA_SERVICE : SettleAccountApplicationBase<HBPO_SA> |
|
|
|
|
|
|
|
importHBOPSaDetails.ForEach(importHBOPSaDetail => |
|
|
|
{ |
|
|
|
importHBOPSaDetail.SetId(GuidGenerator.Create()); |
|
|
|
var lus = importHBOPSaDetail.LU.Split(" ").ToList(); |
|
|
|
importHBOPSaDetail.LU = lus[0].Replace(" ", ""); |
|
|
|
if (lus.Count > 1) |
|
|
|
{ |
|
|
|
lus.RemoveAt(0); |
|
|
|
var luAssemble = lus.Select(t => t.Replace(" ", "")); |
|
|
|
importHBOPSaDetail.LU += luAssemble.Aggregate(" ", (current, index) => current + index); |
|
|
|
} |
|
|
|
importHBOPSaDetail.Version = hbpoSaImportRequestDto.Version; |
|
|
|
}); |
|
|
|
|
|
|
|