From ad5f526117c801e38728ef1812b0a803acb84304 Mon Sep 17 00:00:00 2001 From: wxd <123@qq.com> Date: Mon, 25 Nov 2024 19:51:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E9=9C=80=E8=A6=81=E9=80=80?= =?UTF-8?q?=E6=AC=BE=E7=9A=84=E5=B0=8F=E7=A8=8B=E5=BA=8F=E4=B8=8B=E5=8D=95?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppointPatientRegisterAppService.cs | 11 ++++++++--- .../PeisHttpApiHostModule.cs | 5 ++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/Shentun.Peis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs b/src/Shentun.Peis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs index 62518e4..3ec9692 100644 --- a/src/Shentun.Peis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs +++ b/src/Shentun.Peis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs @@ -246,7 +246,7 @@ namespace Shentun.Peis.AppointPatientRegisters var patientRegisterList = query.ToList(); //获取符合条件的预约ID - var appointPatientRegisterIds = patientRegisterList.Select(s => s.patientRegister.AppointPatientRegisterId).Distinct().ToList(); + var appointPatientRegisterIds = patientRegisterList.Select(s => Guid.Parse(s.patientRegister.AppointPatientRegisterId)).Distinct().ToList(); #endregion @@ -255,7 +255,12 @@ namespace Shentun.Peis.AppointPatientRegisters if (!appointPatientRegisterIds.Any()) return entListDto; - object[] objects = [appointPatientRegisterIds]; + var inputParm = new AppointPatientRegisterIdsInputDto + { + AppointPatientRegisterIds = appointPatientRegisterIds + }; + + object[] objects = [inputParm]; var parmValue = thirdInterface.ParmValue; var configurationBuilder = new ConfigurationBuilder() .AddJsonStream(new MemoryStream(System.Text.Encoding.UTF8.GetBytes(parmValue))); @@ -366,7 +371,7 @@ namespace Shentun.Peis.AppointPatientRegisters var inputPara = input.ChargeAsbitemDetail.FirstOrDefault(f => f.AsbitemId == registerCheckAsbitem.AsbitemId); if (inputPara != null) { - registerCheckAsbitem.IsCharge=inputPara.IsCharge; + registerCheckAsbitem.IsCharge = inputPara.IsCharge; registerCheckAsbitem.ChargeSourceFlag = null; } } diff --git a/src/Shentun.Peis.HttpApi.Host/PeisHttpApiHostModule.cs b/src/Shentun.Peis.HttpApi.Host/PeisHttpApiHostModule.cs index 2237f3f..f5fcaed 100644 --- a/src/Shentun.Peis.HttpApi.Host/PeisHttpApiHostModule.cs +++ b/src/Shentun.Peis.HttpApi.Host/PeisHttpApiHostModule.cs @@ -85,8 +85,7 @@ namespace Shentun.Peis; typeof(AbpAspNetCoreMvcUiLeptonXLiteThemeModule), typeof(AbpAccountWebOpenIddictModule), typeof(AbpAspNetCoreSerilogModule), - typeof(AbpSwashbuckleModule), - typeof(AbpBackgroundWorkersHangfireModule) + typeof(AbpSwashbuckleModule) )] public class PeisHttpApiHostModule : AbpModule { @@ -251,7 +250,7 @@ public class PeisHttpApiHostModule : AbpModule */ //后台计划任务 - ConfigureHangfire(context, configuration); + // ConfigureHangfire(context, configuration); } ///