Browse Source

预约

master
DESKTOP-G961P6V\Zhh 1 year ago
parent
commit
9d4471d321
  1. 4
      src/Shentun.WebPeis.Application.Contracts/AppointPatientRegisters/AppointPatientRegisterDto.cs
  2. 4
      src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs

4
src/Shentun.WebPeis.Application.Contracts/AppointPatientRegisters/AppointPatientRegisterDto.cs

@ -29,6 +29,10 @@ namespace Shentun.WebPeis.AppointPatientRegisters
/// </summary>
public string? IdNo { get; set; }
/// <summary>
/// 手机号码
/// </summary>
public string? MobileTelephone { get; set; }
/// <summary>
/// 性别ID
/// </summary>
public char SexId { get; set; }

4
src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs

@ -131,6 +131,7 @@ namespace Shentun.WebPeis.AppointPatientRegisters
/// <param name="input"></param>
/// <returns></returns>
/// <exception cref="UserFriendlyException"></exception>
[AllowAnonymous]
[HttpPost("api/app/AppointPatientRegister/GetListByFilter")]
public async Task<List<AppointPatientRegisterDto>> GetListByFilterAsync(AppointPatientRegisterInputDto input)
{
@ -238,6 +239,7 @@ namespace Shentun.WebPeis.AppointPatientRegisters
PersonId = o.FirstOrDefault().appointPatientRegister.PersonId,
PersonName = o.FirstOrDefault().user.Name,
IdNo = o.FirstOrDefault().person.IdNo,
MobileTelephone = o.FirstOrDefault().user.PhoneNumber,
SexId = o.FirstOrDefault().person.SexId,
MaritalStatusId = o.FirstOrDefault().person.MaritalStatusId,
CustomerOrgId = o.FirstOrDefault().appointPatientRegister.CustomerOrgId,
@ -380,6 +382,7 @@ namespace Shentun.WebPeis.AppointPatientRegisters
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
[AllowAnonymous]
[HttpPost("api/app/AppointPatientRegister/GetAppointRegisterAsbitemListById")]
public async Task<List<AppointRegisterAsbitemDto>> GetAppointRegisterAsbitemListByIdAsync(AppointPatientRegisterIdInputDto input)
{
@ -406,6 +409,7 @@ namespace Shentun.WebPeis.AppointPatientRegisters
ItemTypeId = itemType.ItemTypeId,
ItemTypeName = itemType.ItemTypeName,
ItemTypeDisplayOrder = itemType.DisplayOrder,
PayTypeFlag = appointRegisterAsbitem.PayTypeFlag
}
).ToList();

Loading…
Cancel
Save