Uat_IRC_Net8
parent
055e085d2a
commit
0f61d746e5
|
@ -33,6 +33,11 @@ public class SysFileTypeAddOrEdit
|
||||||
|
|
||||||
public string NameCN { get; set; }
|
public string NameCN { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 显示顺序
|
||||||
|
/// </summary>
|
||||||
|
public int ShowOrder { get; set; }
|
||||||
|
|
||||||
public SubIdentification SubIdentificationEnum { get; set; }
|
public SubIdentification SubIdentificationEnum { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -153,7 +153,7 @@ public class TrialFileTypeService(IRepository<TrialFileType> _trialFileTypeRepos
|
||||||
result.Add(new TrialFileTypeData()
|
result.Add(new TrialFileTypeData()
|
||||||
{
|
{
|
||||||
ArchiveTypeEnum = type,
|
ArchiveTypeEnum = type,
|
||||||
TrialFileTypeList = trialFileTypeList.Where(x => x.ArchiveTypeEnum == type).ToList()
|
TrialFileTypeList = trialFileTypeList.Where(x => x.ArchiveTypeEnum == type).OrderBy(x=>x.ShowOrder).ToList()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue