diff --git a/SGGL/BLL/API/CQMS/QualityAssuranceService.cs b/SGGL/BLL/API/CQMS/QualityAssuranceService.cs index d14a3cdb..77c1e2bd 100644 --- a/SGGL/BLL/API/CQMS/QualityAssuranceService.cs +++ b/SGGL/BLL/API/CQMS/QualityAssuranceService.cs @@ -39,6 +39,7 @@ namespace BLL var list = (from x in Funs.DB.Comprehensive_DesignDetails join y in Funs.DB.Base_CNProfessional on x.CNProfessionalId equals y.CNProfessionalId where x.ProjectId == projectId + orderby x.CompileDate descending select new Comprehensive_DesignDetailsDto() { DesignDetailsId = x.DesignDetailsId, @@ -164,6 +165,7 @@ namespace BLL var list = (from x in Funs.DB.Comprehensive_ReviewDrawings join y in Funs.DB.Base_CNProfessional on x.CNProfessionalId equals y.CNProfessionalId where x.ProjectId == projectId + orderby x.CreateDate descending select new Comprehensive_ReviewDrawingsDto { Id = x.Id, @@ -226,6 +228,7 @@ namespace BLL join y in Funs.DB.Base_CNProfessional on x.CNProfessionalId equals y.CNProfessionalId join z in Funs.DB.Base_Unit on x.UnitId equals z.UnitId where x.ProjectId == projectId + orderby x.CompileDate descending select new Comprehensive_ConTechnologyDisclosureDto { ConTechnologyDisclosureId = x.ConTechnologyDisclosureId, @@ -305,6 +308,7 @@ namespace BLL join Cn in Funs.DB.Base_CNProfessional on x.CNProfessionalId equals Cn.CNProfessionalId join z in Funs.DB.Base_Post on x.PostId equals z.PostId where x.ProjectId == projectId + orderby x.CompileDate descending select new Comprehensive_InspectionPersonDto { InspectionPersonId = x.InspectionPersonId, @@ -423,6 +427,7 @@ namespace BLL join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId join Cn in Funs.DB.Base_CNProfessional on x.CNProfessionalId equals Cn.CNProfessionalId where x.ProjectId == projectId + orderby x.CompileDate descending select new Comprehensive_InspectionEquipmentDto { InspectionEquipmentId = x.InspectionEquipmentId, @@ -514,6 +519,7 @@ namespace BLL join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId join Cn in Funs.DB.Base_CNProfessional on x.CNProfessionalId equals Cn.CNProfessionalId where x.ProjectId == projectId + orderby x.CompileDate descending select new Comprehensive_InspectionMachineDto { InspectionMachineId = x.InspectionMachineId, @@ -587,6 +593,7 @@ namespace BLL var list = (from x in Funs.DB.ProcessControl_NondestructiveTest_New join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId where x.ProjectId == projectId + orderby x.CreateDate descending select new ProcessControl_NondestructiveTest_NewDto { Id = x.Id, @@ -637,6 +644,7 @@ namespace BLL var list = (from x in Funs.DB.Comprehensive_PressurePipe join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId where x.Projctid == projectId + select new Comprehensive_PressurePipeDto { PressurePipeId = x.PressurePipeId,