diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_SA_DTO.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_SA_DTO.cs index 876c4a05..6b14f1d7 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_SA_DTO.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/BQ/Dtos/PUB_SA_DTO.cs @@ -124,7 +124,7 @@ public class ZhiGongJianHBPOImportDto /// [Display(Name = "结算日期")] [ImporterHeader(IsIgnore = true)] - public string SettleDate { set; get; } + public DateTime SettleDate { set; get; } /// /// 客户零件号 @@ -168,7 +168,7 @@ public class MaiDanJianHBPOImportDto /// [Display(Name = "买单日期")] [ImporterHeader(Name = "买单日期")] - public string SettleDate { set; get; } + public DateTime SettleDate { set; get; } /// /// 客户零件号 diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_SA_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_SA_SERVICE.cs index 5a465445..845798a9 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_SA_SERVICE.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_SA_SERVICE.cs @@ -350,11 +350,6 @@ public class PUB_SA_SERVICE : SettleAccountApplicationBase ExportImporter _exportImporter = new ExportImporter(); var importResults = await _exportImporter.UploadExcelImport(files, _excelImportService).ConfigureAwait(false); - importResults.ForEach(importResult => - { - importResult.SettleDate = DateTime.Now; - }); - var importPubSaDetails = ObjectMapper.Map, List>(importResults); #endregion