Browse Source

人寿

master
wxd 1 year ago
parent
commit
576c51ce96
  1. 2
      src/Shentun.Peis.Application/PatientRegisters/PatientRegisterAppService.cs
  2. 2
      src/Shentun.Peis.Domain/ThirdBookings/ThirdBooking.cs
  3. 2
      src/Shentun.Peis.EntityFrameworkCore/DbMapping/ThirdBookings/ThirdBookingDbMapping.cs

2
src/Shentun.Peis.Application/PatientRegisters/PatientRegisterAppService.cs

@ -2642,7 +2642,7 @@ namespace Shentun.Peis.PatientRegisters
var customerOrgRegisterId = interfaceConfig.GetSection("Interface").GetSection("CustomerOrgRegisterId").Value;
if (customerOrgRegisterId == input.CustomerOrgRegisterId.ToString())
{
patientRegister.ThirdBookingId = patientRegister.Id;
patientRegister.ThirdBookingId = patientRegister.Id.ToString();
}
}

2
src/Shentun.Peis.Domain/ThirdBookings/ThirdBooking.cs

@ -110,7 +110,7 @@ namespace Shentun.Peis.Models
/// <summary>
///婚姻状况 0:未婚、1:已婚
/// </summary>
[StringLength(20)]
[StringLength(1)]
[Column("marital_status")]
public string MaritalStatus { get; set; }

2
src/Shentun.Peis.EntityFrameworkCore/DbMapping/ThirdBookings/ThirdBookingDbMapping.cs

@ -27,7 +27,7 @@ namespace Shentun.Peis.DbMapping
entity.Property(t => t.Phone).HasComment("电话");
entity.Property(t => t.ChildCompanyName).HasComment("分公司");
entity.Property(t => t.DepartmentName).HasComment("部门");
entity.Property(t => t.MaritalStatusName).HasComment("婚姻状况");
entity.Property(t => t.MaritalStatus).HasComment("婚姻状况");
entity.Property(t => t.MedicalStatus).HasComment("体检状态 0未开始 1已登记 2已完成体检").HasDefaultValueSql("'0'").IsRequired(); ;
entity.Property(e => e.Id).IsFixedLength().IsRequired();

Loading…
Cancel
Save