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.
|
|
using Shentun.Peis.AppointPatientRegisters;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Xunit.Abstractions;
namespace Shentun.Peis.PlugIns.Tests{ public class WebAppointWebPeisPlugInsTest { private readonly ITestOutputHelper _output; public WebAppointWebPeisPlugInsTest(ITestOutputHelper testOutputHelper) { _output = testOutputHelper;
}
[Fact] public async Task GetAppointPatientRegisterListByFilterAsync() { var plugIns = new WebAppointWebPeisPlugIns(new Guid("43a9c3a5-8741-4c64-b869-bc304712d88e")); var items = await plugIns.GetAppointPatientRegisterListByFilterAsync(new AppointPatientRegisterPlugInsInputDto() { MobilePhone = "18911254911", AppointStartDate = DateTime.Now.Date.AddDays(-10) }); foreach (var item in items) { _output.WriteLine(item.AppointPatientRegisterId + item.PersonName); }
}
[Fact] public async Task GetAppointRegisterAsbitemListByIdAsync() {
var plugIns = new WebAppointWebPeisPlugIns(new Guid("43a9c3a5-8741-4c64-b869-bc304712d88e")); var items = await plugIns.GetAppointRegisterAsbitemListByIdAsync(new AppointPatientRegisterIdInputDto() { AppointPatientRegisterId = "3a12f181-d6d5-c539-1517-29f4714c7495" }); foreach (var item in items) { _output.WriteLine(item.AppointRegisterAsbitemId + item.AsbitemName); }
} }}
|