From c7e676a70a0fbd42542b0cdd189e38257a3116a6 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Tue, 18 Jul 2023 11:23:09 +0800 Subject: [PATCH] Update select single field (mysql guid?) --- Src/Asp.Net/SqlSugar/Abstract/DbBindProvider/DbBindAccessory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.Net/SqlSugar/Abstract/DbBindProvider/DbBindAccessory.cs b/Src/Asp.Net/SqlSugar/Abstract/DbBindProvider/DbBindAccessory.cs index dc2376220..3c6baa4a4 100644 --- a/Src/Asp.Net/SqlSugar/Abstract/DbBindProvider/DbBindAccessory.cs +++ b/Src/Asp.Net/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)); } } }