删除全局稽查找第一条过滤

IRC_NewDev
hang 2023-09-27 13:57:24 +08:00
parent 964a95d934
commit 8d00a6b2a3
1 changed files with 1 additions and 1 deletions

View File

@ -2646,7 +2646,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
var list = entitys.Where(x => x.Entity.GetType() == typeof(ReadingGlobalTaskInfo)).Select(t => t.Entity as ReadingGlobalTaskInfo);
//不是固定问题的问题
var firstEntity = list.Where(t => t.QuestionId != null).First();
var firstEntity = list.First();
var cloneEntity = firstEntity.Clone();