修复bug
parent
63e8a631f3
commit
714c136d12
|
@ -61,9 +61,9 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
//父亲的序号肯定要比自己小
|
||||
if (trialQCQuestionFilterSelect.Id != null)
|
||||
{
|
||||
var selectItem = initList.FirstOrDefault(t => t.Id == trialQCQuestionFilterSelect.Id)!;
|
||||
var selectItem = initList.FirstOrDefault(t => t.Id == trialQCQuestionFilterSelect.Id);
|
||||
|
||||
initList = initList.Where(t => t.Id != selectItem.Id && t.ShowOrder < selectItem.ShowOrder).ToList();
|
||||
initList = initList.WhereIf(selectItem!=null, t => t.Id != selectItem.Id && t.ShowOrder < selectItem.ShowOrder).ToList();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -609,7 +609,8 @@ namespace IRaCIS.Core.Infra.EFCore
|
|||
continue;
|
||||
}
|
||||
string Table = item.ForeignKeyTable;
|
||||
string ForeignKeyValue = item.ForeignKeyValue; string ForeignKeyText = item.ForeignKeyText;
|
||||
string ForeignKeyValue = item.ForeignKeyValue;
|
||||
string ForeignKeyText = item.ForeignKeyText;
|
||||
string value = JsonDataValue[item.Key].ToString();
|
||||
string para = string.Empty;
|
||||
string sql = string.Empty;
|
||||
|
|
Loading…
Reference in New Issue