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

Loading…
Cancel
Save