Browse Source

增加预约ID

bjmzak
wxd 2 years ago
parent
commit
10411814f7
  1. 8
      src/Shentun.Peis.Application.Contracts/PatientRegisters/CreatePatientRegisterDto.cs
  2. 6
      src/Shentun.Peis.Domain/PatientRegisters/CreatePatientRegisterArg.cs
  3. 4
      src/Shentun.Peis.Domain/PatientRegisters/PatientRegisterManager.cs

8
src/Shentun.Peis.Application.Contracts/PatientRegisters/CreatePatientRegisterDto.cs

@ -6,6 +6,7 @@ using System.Text;
using System.Runtime.Serialization;
using Shentun.Peis.Enums;
using Shentun.Peis.RegisterAsbitems;
using System.Xml.Schema;
namespace Shentun.Peis.PatientRegisters
{
@ -84,9 +85,6 @@ namespace Shentun.Peis.PatientRegisters
public Guid? SexHormoneTermId { get; set; }
/// <summary>
/// 隐藏姓名
/// </summary>
@ -131,6 +129,10 @@ namespace Shentun.Peis.PatientRegisters
/// </summary>
public char IsAllowIdNoSexError { get; set; } = 'N';
/// <summary>
/// 预约ID
/// </summary>
public string AppointPatientRegisterId { get; set; }
#region 添加时不需要

6
src/Shentun.Peis.Domain/PatientRegisters/CreatePatientRegisterArg.cs

@ -120,7 +120,11 @@ namespace Shentun.Peis.PatientRegisters
/// </summary>
public Guid CustomerOrgRegisterId { get; set; }
/// <summary>
/// 预约ID
/// </summary>
public string AppointPatientRegisterId { get; set; }
}
}

4
src/Shentun.Peis.Domain/PatientRegisters/PatientRegisterManager.cs

@ -351,7 +351,8 @@ namespace Shentun.Peis.PatientRegisters
SexId = entity.SexId,
SummaryDate = null,
SummaryDoctorId = null,
ThirdInfo = entity.ThirdInfo
ThirdInfo = entity.ThirdInfo,
AppointPatientRegisterId = entity.AppointPatientRegisterId
};
if (patientRegisterEnt.CustomerOrgGroupId != Guid.Empty && patientRegisterEnt.CustomerOrgGroupId != null)
@ -734,6 +735,7 @@ namespace Shentun.Peis.PatientRegisters
//targetEntity.SummaryDate = sourceEntity.SummaryDate;
//targetEntity.SummaryDoctor = sourceEntity.SummaryDoctor;
targetEntity.ThirdInfo = sourceEntity.ThirdInfo;
targetEntity.AppointPatientRegisterId = sourceEntity.AppointPatientRegisterId;
if (sourceEntity.CustomerOrgGroupId != Guid.Empty && sourceEntity.CustomerOrgGroupId != null)
{

Loading…
Cancel
Save