排序
This commit is contained in:
parent
03f1f56643
commit
dfffb90c15
@ -54,7 +54,7 @@ namespace APT.FO.WebApi.Controllers
|
||||
if (entity != null)
|
||||
{
|
||||
var details = this.GetEntities<T_FO_FIRE_JOB_DETAIL>(t => t.FIRE_JOB_ID == entity.ID, new BaseFilter(entity.ORG_ID), "Nav_DetailFiles.Nav_ImgFile.Nav_File").ToList();
|
||||
entity.Nav_Details = details.OrderBy(t => t.JOB_STEP).ToList();
|
||||
entity.Nav_Details = details.OrderBy(t => t.JOB_STEP).ThenBy(m => m.NUM).ToList();
|
||||
}
|
||||
return entity;
|
||||
});
|
||||
|
||||
@ -53,7 +53,7 @@ namespace APT.FO.WebApi.Controllers
|
||||
if (entity != null)
|
||||
{
|
||||
var details = this.GetEntities<T_FO_FIRE_JOB_WB_DETAIL>(t => t.FIRE_JOB_WB_ID == entity.ID, new BaseFilter(entity.ORG_ID), "Nav_DetailFiles.Nav_ImgFile.Nav_File").ToList();
|
||||
entity.Nav_Details = details.OrderBy(t => t.JOB_STEP).ToList();
|
||||
entity.Nav_Details = details.OrderBy(t => t.JOB_STEP).ThenBy(m=>m.NUM).ToList();
|
||||
}
|
||||
return entity;
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user