From 140b9fac3af09839c20625cf7d1364eedc94d3f9 Mon Sep 17 00:00:00 2001 From: wxd <123@qq.com> Date: Mon, 13 May 2024 17:26:09 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E8=AE=B0=E4=BA=BA=E5=91=98=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E3=80=81=E5=AF=BC=E5=85=A5=E6=A3=80=E6=9F=A5=E5=8D=95?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E6=89=93=E5=8D=B0=E9=BB=98=E8=AE=A4=E4=B8=BA?= =?UTF-8?q?Y?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PatientRegisters/PatientRegisterAppService.cs | 2 +- .../RegisterCheckPictures/RegisterCheckPictureAppService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 };