mirror of
				https://gitee.com/ThingsGateway/ThingsGateway.git
				synced 2025-10-31 15:43:59 +08:00 
			
		
		
		
	fix:sqlsugar json支持类型改为bigstring
This commit is contained in:
		| @@ -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> | ||||
|   | ||||
| @@ -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; } | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -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; } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kimdiego2098
					Kimdiego2098