fix:sqlsugar json支持类型改为bigstring

This commit is contained in:
Kimdiego2098
2023-09-04 17:09:38 +08:00
parent 5f986a45ca
commit 0482e077a8
4 changed files with 4 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ public class OpenApiUser : BaseEntity
/// <summary>
/// 权限码集合
/// </summary>
[SugarColumn(ColumnName = "PermissionCodeList", ColumnDescription = "权限json", IsJson = true, IsNullable = true)]
[SugarColumn(ColumnName = "PermissionCodeList", ColumnDescription = "权限json", ColumnDataType = StaticConfig.CodeFirst_BigString, IsJson = true, IsNullable = true)]
public List<string> PermissionCodeList { get; set; }
/// <summary>

View File

@@ -31,7 +31,7 @@ public class SysVerificat : PrimaryIdEntity
/// <summary>
/// 会话信息列表
/// </summary>
[SugarColumn(IsJson = true)]
[SugarColumn(ColumnName = "VerificatInfos", ColumnDescription = "会话信息列表", ColumnDataType = StaticConfig.CodeFirst_BigString, IsJson = true, IsNullable = true)]
public List<VerificatInfo> VerificatInfos { get; set; }
}

View File

@@ -72,7 +72,7 @@ public class MemoryVariable : BaseEntity
/// <summary>
/// 变量额外属性Json通常使用为上传设备,List属性
/// </summary>
[SugarColumn(IsJson = true, ColumnName = "VariablePropertys", ColumnDescription = "变量属性Json", IsNullable = true)]
[SugarColumn(IsJson = true, ColumnName = "VariablePropertys", ColumnDataType = StaticConfig.CodeFirst_BigString, ColumnDescription = "变量属性Json", IsNullable = true)]
[IgnoreExcel]
public ConcurrentDictionary<long, List<DependencyProperty>> VariablePropertys { get; set; } = new();
/// <summary>

View File

@@ -65,7 +65,7 @@ public class UploadDevice : BaseEntity
/// <summary>
/// 设备属性Json
/// </summary>
[SugarColumn(IsJson = true, ColumnName = "DevicePropertys", ColumnDescription = "设备属性Json", IsNullable = true)]
[SugarColumn(IsJson = true, ColumnName = "DevicePropertys", ColumnDataType = StaticConfig.CodeFirst_BigString, ColumnDescription = "设备属性Json", IsNullable = true)]
[IgnoreExcel]
public List<DependencyProperty> DevicePropertys { get; set; }