Browse Source

预约

master
DESKTOP-G961P6V\Zhh 1 year ago
parent
commit
cc394899f8
  1. 2
      src/Shentun.ColumnReferencePlugIns/WebAppoints/WebAppointWebPeisPlugIns.cs
  2. 15
      test/Shentun.Peis.ColumnReference.Tests/WebAppointWebPeisPlugInsTest.cs

2
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;
}
/// <summary>
/// 获取预约人员列表

15
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());
}
}
}
Loading…
Cancel
Save