diff --git a/src/Shentun.Peis.Application/PatientRegisters/PatientRegisterAppService.cs b/src/Shentun.Peis.Application/PatientRegisters/PatientRegisterAppService.cs index d394c66..4a74e1c 100644 --- a/src/Shentun.Peis.Application/PatientRegisters/PatientRegisterAppService.cs +++ b/src/Shentun.Peis.Application/PatientRegisters/PatientRegisterAppService.cs @@ -503,7 +503,7 @@ namespace Shentun.Peis.PatientRegisters int totalCount = entlist.Count(); - entlist = entlist.OrderBy(o => o.patientRegister.Id).Skip(input.SkipCount * input.MaxResultCount).Take(input.MaxResultCount); + entlist = entlist.OrderByDescending(o=>o.patientRegister.CompleteFlag).ThenBy(o => o.patientRegister.Id).Skip(input.SkipCount * input.MaxResultCount).Take(input.MaxResultCount); var entdto = entlist.Select(s => new PatientRegisterOrNoDto diff --git a/src/Shentun.Peis.Application/RegisterCheckPictures/RegisterCheckPictureAppService.cs b/src/Shentun.Peis.Application/RegisterCheckPictures/RegisterCheckPictureAppService.cs index 5a58a25..27caf1c 100644 --- a/src/Shentun.Peis.Application/RegisterCheckPictures/RegisterCheckPictureAppService.cs +++ b/src/Shentun.Peis.Application/RegisterCheckPictures/RegisterCheckPictureAppService.cs @@ -192,7 +192,7 @@ namespace Shentun.Peis.RegisterCheckPictures ent = new RegisterCheckPicture { DisplayOrder = input.PictureBaseStrs.IndexOf(item) + 1, - IsPrint = 'N', + IsPrint = 'Y', PictureFilename = PictureUrl, RegisterCheckId = input.RegisterCheckId };