You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.0 KiB

1 year ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Xunit.Abstractions;
  7. namespace Shentun.Peis.PlugIns.Tests
  8. {
  9. public class WebAppointWebPeisPlugInsTest
  10. {
  11. private readonly ITestOutputHelper _output;
  12. public WebAppointWebPeisPlugInsTest(ITestOutputHelper testOutputHelper)
  13. {
  14. _output = testOutputHelper;
  15. }
  16. [Fact]
  17. public async Task GetListByFilterAsync()
  18. {
  19. var plugIns = new WebAppointWebPeisPlugIns(new Guid("43a9c3a5-8741-4c64-b869-bc304712d88e"));
  20. var items = await plugIns.GetListByFilterAsync(new AppointPatientRegisters.AppointPatientRegisterPlugInsInputDto()
  21. {
  22. MobilePhone = "18911254911",
  23. AppointStartDate = DateTime.Now.Date.AddDays(-10)
  24. });
  25. foreach (var item in items)
  26. {
  27. _output.WriteLine(item.PersonName);
  28. }
  29. }
  30. }
  31. }