From 5fed50513d6fec56bd57e44552469c5c9fc69b92 Mon Sep 17 00:00:00 2001 From: douhandong Date: Mon, 21 Oct 2024 18:00:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E8=A1=8C=E6=B5=81=E6=B0=B4=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=89=A9=E5=B1=95=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DS.WMS.Core/QuarztJobs/Method/BankStatementService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);