mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-22 02:51:58 +08:00
Synchronization code
This commit is contained in:
@@ -292,6 +292,8 @@ namespace SqlSugar
|
||||
method = isNullableType ? getConvertByte : getByte;
|
||||
if (bindProperyTypeName.IsContainsIn("int16"))
|
||||
method = isNullableType ? getConvertInt16 : getInt16;
|
||||
if (bindProperyTypeName == "uint32"&&this.Context.CurrentConnectionConfig.DbType.IsIn(DbType.MySql,DbType.MySqlConnector))
|
||||
method = null;
|
||||
break;
|
||||
case CSharpDataType.@bool:
|
||||
if (bindProperyTypeName == "bool" || bindProperyTypeName == "boolean")
|
||||
|
||||
@@ -2432,10 +2432,10 @@ namespace SqlSugar
|
||||
var groupKv = list.GroupBy(x => pIdProp.GetValue(x).ObjToString()).ToDictionary(k => k.Key, v => v.ToList());
|
||||
|
||||
Func<string, List<T>> fc = null;
|
||||
fc = (rootValue) =>
|
||||
fc = (rootVal) =>
|
||||
{
|
||||
var finalList = new List<T>();
|
||||
if (groupKv.TryGetValue(rootValue, out var nextChildList))
|
||||
if (groupKv.TryGetValue(rootVal, out var nextChildList))
|
||||
{
|
||||
finalList.AddRange(nextChildList);
|
||||
foreach (var child in nextChildList)
|
||||
|
||||
Reference in New Issue
Block a user