diff --git a/ds-wms-service/DS.WMS.Core/QuarztJobs/Method/BankStatementService.cs b/ds-wms-service/DS.WMS.Core/QuarztJobs/Method/BankStatementService.cs index 6b7b72ac..81244152 100644 --- a/ds-wms-service/DS.WMS.Core/QuarztJobs/Method/BankStatementService.cs +++ b/ds-wms-service/DS.WMS.Core/QuarztJobs/Method/BankStatementService.cs @@ -128,7 +128,7 @@ namespace DS.WMS.Core.QuarztJobs.Method bs.NameOfNominalPayee = itemdata.NameOfNominalPayee; bs.FilePaths = itemdata.FilePaths; bs.DataCreateTime = itemdata.CreateTime; - bs.PayDataTime = ( Convert.ToDateTime( $"{itemdata.TransactionDate} {itemdata.TransactionTime}")); //交易时间 + bs.PayDataTime = DateTime.ParseExact(($"{itemdata.TransactionDate} {itemdata.TransactionTime}"), "yyyyMMdd HH:mm:ss", System.Globalization.CultureInfo.CurrentCulture); ; //交易时间 bs.CreateTime = DateTime.Now; //await tenantDb.Insertable(bs).ExecuteCommandAsync(); datalist.Add(bs);