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); } ///