diff --git a/IRaCIS.Core.API/_ServiceExtensions/hangfireSetup.cs b/IRaCIS.Core.API/_ServiceExtensions/hangfireSetup.cs
index 3731df427..1e2eff9eb 100644
--- a/IRaCIS.Core.API/_ServiceExtensions/hangfireSetup.cs
+++ b/IRaCIS.Core.API/_ServiceExtensions/hangfireSetup.cs
@@ -16,12 +16,12 @@ namespace IRaCIS.Core.API
services.AddHangfire(hangFireConfig =>
{
//本地window 调试 使用内存,服务器部署使用数据库,防止服务器任务调度到本地
- //if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
- //{
- // hangFireConfig.UseInMemoryStorage();
+ if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
+ {
+ hangFireConfig.UseInMemoryStorage();
- //}
- //else
+ }
+ else
{
//指定存储介质
hangFireConfig.UseSqlServerStorage(hangFireConnStr, new SqlServerStorageOptions()
diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
index 860ef3730..22f7a4401 100644
--- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
+++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
@@ -2328,6 +2328,13 @@
+
+
+ 测试efcore json 列支持情况
+ https://devblogs.microsoft.com/dotnet/array-mapping-in-ef-core-8/
+
+
+
测试客户端凭证代码
diff --git a/IRaCIS.Core.Application/Service/MinimalApiService/TestMinimalApiService.cs b/IRaCIS.Core.Application/Service/MinimalApiService/TestMinimalApiService.cs
index 25e0511df..4a8a45625 100644
--- a/IRaCIS.Core.Application/Service/MinimalApiService/TestMinimalApiService.cs
+++ b/IRaCIS.Core.Application/Service/MinimalApiService/TestMinimalApiService.cs
@@ -24,7 +24,11 @@ namespace IRaCIS.Core.Application.Service.MinimalApiService
public class TestMinimalApiService(IUserInfo _userInfo, IRepository _testLengthRepository) : ServiceBase
{
-
+ ///
+ /// 测试efcore json 列支持情况
+ /// https://devblogs.microsoft.com/dotnet/array-mapping-in-ef-core-8/
+ ///
+ ///
public async Task TestEfcoreJson()
{
@@ -43,10 +47,13 @@ namespace IRaCIS.Core.Application.Service.MinimalApiService
var jobjectList1 = _testLengthRepository.AsQueryable().Where(t=>t.TestJsonObjectLsit.Any(c=>c.Name=="name1")).ToList();
+ var jobjectList2 = _testLengthRepository.AsQueryable().Where(t => t.TestJsonObjectLsit.Any(c => c.Name == "name1")).SelectMany(t=>t.TestJsonObjectLsit).ToList();
+
var d1 = _testLengthRepository.Where(t => t.StringList.Any(t => t == "string1")).ToList();
var d2 = _testLengthRepository.Where(t => t.StringList.Contains("string1")).ToList();
+
//selectMany 报错 不支持
//var d20 = _testLengthRepository.Where(t => t.StringList.Contains("string1")).SelectMany(t => t.StringList).ToList();
diff --git a/IRaCIS.Core.Domain/Management/User.cs b/IRaCIS.Core.Domain/Management/User.cs
index 947db076d..087a418bd 100644
--- a/IRaCIS.Core.Domain/Management/User.cs
+++ b/IRaCIS.Core.Domain/Management/User.cs
@@ -5,7 +5,7 @@ namespace IRaCIS.Core.Domain.Models;
[Comment("̨ - ϵͳ˻")]
[Table("User")]
-public class User : BaseFullDeleteAuditEntity
+public class User : BaseFullAuditEntity
{
#region