|
@ -350,11 +350,6 @@ public class PUB_SA_SERVICE : SettleAccountApplicationBase<PUB_SA> |
|
|
ExportImporter _exportImporter = new ExportImporter(); |
|
|
ExportImporter _exportImporter = new ExportImporter(); |
|
|
var importResults = await _exportImporter.UploadExcelImport<MaiDanJianHBPOImportDto>(files, _excelImportService).ConfigureAwait(false); |
|
|
var importResults = await _exportImporter.UploadExcelImport<MaiDanJianHBPOImportDto>(files, _excelImportService).ConfigureAwait(false); |
|
|
|
|
|
|
|
|
importResults.ForEach(importResult => |
|
|
|
|
|
{ |
|
|
|
|
|
importResult.SettleDate = DateTime.Now; |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
var importPubSaDetails = ObjectMapper.Map<List<MaiDanJianHBPOImportDto>, List<PUB_SA_DETAIL>>(importResults); |
|
|
var importPubSaDetails = ObjectMapper.Map<List<MaiDanJianHBPOImportDto>, List<PUB_SA_DETAIL>>(importResults); |
|
|
#endregion
|
|
|
#endregion
|
|
|
|
|
|
|
|
|