From c9a25061174323ba75baaa32fdbc321fb74da21f Mon Sep 17 00:00:00 2001 From: Hirotada Kobayashi Date: Tue, 22 Oct 2024 11:21:43 +0900 Subject: [PATCH] ## Bug fixed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ・MySQL環境でプリザンターセットアップ後の初回ログイン時、アプリケーションエラーが発生する場合がある問題を解消。 --- Implem.CodeDefiner/Implem.CodeDefiner.csproj | 6 +++--- Implem.DefinitionAccessor/Implem.DefinitionAccessor.csproj | 6 +++--- Implem.DisplayAccessor/Implem.DisplayAccessor.csproj | 6 +++--- Implem.Factory/Implem.Factory.csproj | 6 +++--- Implem.Libraries/Implem.Libraries.csproj | 6 +++--- Implem.ParameterAccessor/Implem.ParameterAccessor.csproj | 6 +++--- Implem.Pleasanter/Implem.Pleasanter.csproj | 6 +++--- Implem.TestAutomation/implem.TestAutomation.csproj | 6 +++--- Rds/Implem.IRds/Implem.IRds.csproj | 6 +++--- Rds/Implem.MySql/Implem.MySql.csproj | 6 +++--- Rds/Implem.MySql/MySqlSqls.cs | 6 +++++- Rds/Implem.PostgreSql/Implem.PostgreSql.csproj | 6 +++--- Rds/Implem.PostgreSql/PostgreSqlSqls.cs | 6 +++--- Rds/Implem.SqlServer/Implem.SqlServer.csproj | 6 +++--- 14 files changed, 44 insertions(+), 40 deletions(-) diff --git a/Implem.CodeDefiner/Implem.CodeDefiner.csproj b/Implem.CodeDefiner/Implem.CodeDefiner.csproj index 0380e248d..3ff094f74 100644 --- a/Implem.CodeDefiner/Implem.CodeDefiner.csproj +++ b/Implem.CodeDefiner/Implem.CodeDefiner.csproj @@ -5,9 +5,9 @@ net8.0 Copyright © Implem Inc 2014 - 2024 This program does the automatic code creation and merging of existing code based on the definition. Also it will make the configuration change of sql server database. - 1.4.9.1 - 1.4.9.1 - 1.4.9.1 + 1.4.9.2 + 1.4.9.2 + 1.4.9.2 Linux diff --git a/Implem.DefinitionAccessor/Implem.DefinitionAccessor.csproj b/Implem.DefinitionAccessor/Implem.DefinitionAccessor.csproj index 9e51aed4f..793d72d2a 100644 --- a/Implem.DefinitionAccessor/Implem.DefinitionAccessor.csproj +++ b/Implem.DefinitionAccessor/Implem.DefinitionAccessor.csproj @@ -3,9 +3,9 @@ net8.0 Copyright © Implem Inc 2014 - 2024 - 1.4.9.1 - 1.4.9.1 - 1.4.9.1 + 1.4.9.2 + 1.4.9.2 + 1.4.9.2 disable diff --git a/Implem.DisplayAccessor/Implem.DisplayAccessor.csproj b/Implem.DisplayAccessor/Implem.DisplayAccessor.csproj index 03c2aa285..8a4c7646d 100644 --- a/Implem.DisplayAccessor/Implem.DisplayAccessor.csproj +++ b/Implem.DisplayAccessor/Implem.DisplayAccessor.csproj @@ -3,9 +3,9 @@ net8.0 Copyright © Implem Inc 2014 - 2024 - 1.4.9.1 - 1.4.9.1 - 1.4.9.1 + 1.4.9.2 + 1.4.9.2 + 1.4.9.2 disable diff --git a/Implem.Factory/Implem.Factory.csproj b/Implem.Factory/Implem.Factory.csproj index 837a61c8e..d27f63907 100644 --- a/Implem.Factory/Implem.Factory.csproj +++ b/Implem.Factory/Implem.Factory.csproj @@ -3,9 +3,9 @@ net8.0 Copyright © Implem Inc 2014 - 2024 - 1.4.9.1 - 1.4.9.1 - 1.4.9.1 + 1.4.9.2 + 1.4.9.2 + 1.4.9.2 disable diff --git a/Implem.Libraries/Implem.Libraries.csproj b/Implem.Libraries/Implem.Libraries.csproj index 97516cebe..35389e7de 100644 --- a/Implem.Libraries/Implem.Libraries.csproj +++ b/Implem.Libraries/Implem.Libraries.csproj @@ -3,9 +3,9 @@ net8.0 Copyright © Implem Inc 2014 - 2024 - 1.4.9.1 - 1.4.9.1 - 1.4.9.1 + 1.4.9.2 + 1.4.9.2 + 1.4.9.2 disable diff --git a/Implem.ParameterAccessor/Implem.ParameterAccessor.csproj b/Implem.ParameterAccessor/Implem.ParameterAccessor.csproj index bc44a2852..e5e75493b 100644 --- a/Implem.ParameterAccessor/Implem.ParameterAccessor.csproj +++ b/Implem.ParameterAccessor/Implem.ParameterAccessor.csproj @@ -3,9 +3,9 @@ net8.0 Copyright © Implem Inc 2014 - 2024 - 1.4.9.1 - 1.4.9.1 - 1.4.9.1 + 1.4.9.2 + 1.4.9.2 + 1.4.9.2 disable diff --git a/Implem.Pleasanter/Implem.Pleasanter.csproj b/Implem.Pleasanter/Implem.Pleasanter.csproj index ca9515fff..7332a3cd8 100644 --- a/Implem.Pleasanter/Implem.Pleasanter.csproj +++ b/Implem.Pleasanter/Implem.Pleasanter.csproj @@ -5,9 +5,9 @@ Copyright © Implem Inc 2014 - 2024 Business application platform Implem.Pleasanter - 1.4.9.1 - 1.4.9.1 - 1.4.9.1 + 1.4.9.2 + 1.4.9.2 + 1.4.9.2 disable Linux ..\docker-compose.dcproj diff --git a/Implem.TestAutomation/implem.TestAutomation.csproj b/Implem.TestAutomation/implem.TestAutomation.csproj index 3d362a467..2485e417b 100644 --- a/Implem.TestAutomation/implem.TestAutomation.csproj +++ b/Implem.TestAutomation/implem.TestAutomation.csproj @@ -4,9 +4,9 @@ Exe net8.0 Copyright © Implem Inc 2014 - 2024 - 1.4.9.1 - 1.4.9.1 - 1.4.9.1 + 1.4.9.2 + 1.4.9.2 + 1.4.9.2 Linux diff --git a/Rds/Implem.IRds/Implem.IRds.csproj b/Rds/Implem.IRds/Implem.IRds.csproj index 03c2aa285..8a4c7646d 100644 --- a/Rds/Implem.IRds/Implem.IRds.csproj +++ b/Rds/Implem.IRds/Implem.IRds.csproj @@ -3,9 +3,9 @@ net8.0 Copyright © Implem Inc 2014 - 2024 - 1.4.9.1 - 1.4.9.1 - 1.4.9.1 + 1.4.9.2 + 1.4.9.2 + 1.4.9.2 disable diff --git a/Rds/Implem.MySql/Implem.MySql.csproj b/Rds/Implem.MySql/Implem.MySql.csproj index e681b0b51..177d0e814 100644 --- a/Rds/Implem.MySql/Implem.MySql.csproj +++ b/Rds/Implem.MySql/Implem.MySql.csproj @@ -3,9 +3,9 @@ net8.0 Copyright © Implem Inc 2014 - 2024 - 1.4.9.1 - 1.4.9.1 - 1.4.9.1 + 1.4.9.2 + 1.4.9.2 + 1.4.9.2 disable diff --git a/Rds/Implem.MySql/MySqlSqls.cs b/Rds/Implem.MySql/MySqlSqls.cs index 327086f38..4441971ad 100644 --- a/Rds/Implem.MySql/MySqlSqls.cs +++ b/Rds/Implem.MySql/MySqlSqls.cs @@ -44,7 +44,11 @@ public string EscapeValue(string value) public object DateTimeValue(object value) { - return value; + return value != null + && !(value is DateTime) + && DateTime.TryParse(value.ToString(), out var data) + ? data + : value; } public string BooleanString(string bit) diff --git a/Rds/Implem.PostgreSql/Implem.PostgreSql.csproj b/Rds/Implem.PostgreSql/Implem.PostgreSql.csproj index bcdc33ac0..ad32cfa62 100644 --- a/Rds/Implem.PostgreSql/Implem.PostgreSql.csproj +++ b/Rds/Implem.PostgreSql/Implem.PostgreSql.csproj @@ -3,9 +3,9 @@ net8.0 Copyright © Implem Inc 2014 - 2024 - 1.4.9.1 - 1.4.9.1 - 1.4.9.1 + 1.4.9.2 + 1.4.9.2 + 1.4.9.2 disable diff --git a/Rds/Implem.PostgreSql/PostgreSqlSqls.cs b/Rds/Implem.PostgreSql/PostgreSqlSqls.cs index b73c00bf7..08a9af51f 100644 --- a/Rds/Implem.PostgreSql/PostgreSqlSqls.cs +++ b/Rds/Implem.PostgreSql/PostgreSqlSqls.cs @@ -43,9 +43,9 @@ public string EscapeValue(string value) public object DateTimeValue(object value) { - return value != null && - !(value is DateTime) && - DateTime.TryParse(value.ToString(), out var data) + return value != null + && !(value is DateTime) + && DateTime.TryParse(value.ToString(), out var data) ? data : value; } diff --git a/Rds/Implem.SqlServer/Implem.SqlServer.csproj b/Rds/Implem.SqlServer/Implem.SqlServer.csproj index f92ca37de..431ddfdf8 100644 --- a/Rds/Implem.SqlServer/Implem.SqlServer.csproj +++ b/Rds/Implem.SqlServer/Implem.SqlServer.csproj @@ -3,9 +3,9 @@ net8.0 Copyright © Implem Inc 2014 - 2024 - 1.4.9.1 - 1.4.9.1 - 1.4.9.1 + 1.4.9.2 + 1.4.9.2 + 1.4.9.2 disable