|
|
@ -58,9 +58,9 @@ namespace Win.Sfs.SettleAccount.Entities.Prices |
|
|
|
var _exportImporter = new ExportImporter(); |
|
|
|
var result = await _exportImporter.UploadExcelImportByHeadDesc<PriceListBJImportDto>(files, _excelImportService).ConfigureAwait(false); |
|
|
|
var filter = new List<string> |
|
|
|
{ |
|
|
|
"1049" |
|
|
|
}; |
|
|
|
{ |
|
|
|
"1049" |
|
|
|
}; |
|
|
|
result = result.Where(p => filter.Contains(p.Plant)).ToList(); |
|
|
|
result.FindAll(t => !string.IsNullOrEmpty(t.ES1) || !string.IsNullOrEmpty(t.ES2)).ForEach(t => t.PartNo = t.PartNo + new string(' ', 6) + t.ES1 + t.ES2); |
|
|
|
var newPrice = ObjectMapper.Map<List<PriceListBJImportDto>, List<PriceListBJ>>(result); |
|
|
|