From d11e30fab15511b3e7cecbe580267f067ae0f2e2 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Tue, 18 Jul 2023 11:38:42 +0800 Subject: [PATCH] Synchronization code --- .../SqlSugar/Abstract/DbBindProvider/DbBindAccessory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.NetCore2/SqlSugar/Abstract/DbBindProvider/DbBindAccessory.cs b/Src/Asp.NetCore2/SqlSugar/Abstract/DbBindProvider/DbBindAccessory.cs index dc2376220..3c6baa4a4 100644 --- a/Src/Asp.NetCore2/SqlSugar/Abstract/DbBindProvider/DbBindAccessory.cs +++ b/Src/Asp.NetCore2/SqlSugar/Abstract/DbBindProvider/DbBindAccessory.cs @@ -328,7 +328,7 @@ namespace SqlSugar } else { - result.Add((T)Convert.ChangeType(value, UtilMethods.GetUnderType(type))); + result.Add((T)UtilMethods.ChangeType2(value, type)); } } }