From cc394899f848cd5b05339bc11b718e9e6682f994 Mon Sep 17 00:00:00 2001 From: "DESKTOP-G961P6V\\Zhh" <839860190@qq.com> Date: Wed, 26 Jun 2024 01:37:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WebAppoints/WebAppointWebPeisPlugIns.cs | 2 +- .../WebAppointWebPeisPlugInsTest.cs | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/Shentun.ColumnReferencePlugIns/WebAppoints/WebAppointWebPeisPlugIns.cs b/src/Shentun.ColumnReferencePlugIns/WebAppoints/WebAppointWebPeisPlugIns.cs index fe28448..3da800e 100644 --- a/src/Shentun.ColumnReferencePlugIns/WebAppoints/WebAppointWebPeisPlugIns.cs +++ b/src/Shentun.ColumnReferencePlugIns/WebAppoints/WebAppointWebPeisPlugIns.cs @@ -47,7 +47,7 @@ namespace Shentun.Peis.PlugIns.WebAppoints _webPeisBaseAddress = InterfaceConfig.GetSection("Interface").GetSection("BaseAddress").Value; _webPeisGetAppointPatientRegisterListByFilterUrl = InterfaceConfig.GetSection("Interface").GetSection("GetAppointPatientRegisterListByFilterUrl").Value; _webPeisGetAppointRegisterAsbitemListByIdUrl = InterfaceConfig.GetSection("Interface").GetSection("GetAppointRegisterAsbitemListByIdUrl").Value; - _webPeisGetByPatientRegisterIdUrl = InterfaceConfig.GetSection("Interface").GetSection("GetByPatientRegisterId").Value; + _webPeisGetByPatientRegisterIdUrl = InterfaceConfig.GetSection("Interface").GetSection("GetByPatientRegisterIdUrl").Value; } /// /// 获取预约人员列表 diff --git a/test/Shentun.Peis.ColumnReference.Tests/WebAppointWebPeisPlugInsTest.cs b/test/Shentun.Peis.ColumnReference.Tests/WebAppointWebPeisPlugInsTest.cs index 9a5efbb..9d5d0ae 100644 --- a/test/Shentun.Peis.ColumnReference.Tests/WebAppointWebPeisPlugInsTest.cs +++ b/test/Shentun.Peis.ColumnReference.Tests/WebAppointWebPeisPlugInsTest.cs @@ -50,5 +50,20 @@ namespace Shentun.Peis.PlugIns.Tests } } + + [Fact] + public async Task GetByPatientRegisterIdAsync() + { + + var plugIns = new WebAppointWebPeisPlugIns(new Guid("43a9c3a5-8741-4c64-b869-bc304712d88e")); + var items = await plugIns.GetByPatientRegisterIdAsync(new AppointPatientRegisterIdInputDto() + { + ThirdInterFaceId = new Guid("43a9c3a5-8741-4c64-b869-bc304712d88e"), + PatientRegisterId = new Guid("3a1361f6-3ec4-a4bc-9641-b269f619561a") + }); + _output.WriteLine(items.AppointPatientRegisterId.ToString()); + + + } } }