|
|
|
@ -158,30 +158,31 @@ namespace Shentun.Peis.Patients |
|
|
|
} |
|
|
|
|
|
|
|
targetEntity.BirthPlaceId = sourceEntity.BirthPlaceId; |
|
|
|
if (!string.IsNullOrWhiteSpace(sourceEntity.Email)) |
|
|
|
{ |
|
|
|
targetEntity.Email = sourceEntity.Email; |
|
|
|
} |
|
|
|
if (!string.IsNullOrWhiteSpace(sourceEntity.IdNo)) |
|
|
|
{ |
|
|
|
targetEntity.IdNo = sourceEntity.IdNo; |
|
|
|
} |
|
|
|
if (!string.IsNullOrWhiteSpace(sourceEntity.MobileTelephone)) |
|
|
|
{ |
|
|
|
targetEntity.MobileTelephone = sourceEntity.MobileTelephone; |
|
|
|
} |
|
|
|
if (!string.IsNullOrWhiteSpace(sourceEntity.Telephone)) |
|
|
|
{ |
|
|
|
targetEntity.Telephone = sourceEntity.Telephone; |
|
|
|
} |
|
|
|
if (!string.IsNullOrWhiteSpace(sourceEntity.NationId)) |
|
|
|
{ |
|
|
|
targetEntity.NationId = sourceEntity.NationId; |
|
|
|
} |
|
|
|
if (!string.IsNullOrWhiteSpace(sourceEntity.PostalCode)) |
|
|
|
{ |
|
|
|
targetEntity.PostalCode = sourceEntity.PostalCode; |
|
|
|
} |
|
|
|
//if (!string.IsNullOrWhiteSpace(sourceEntity.Email))
|
|
|
|
//{
|
|
|
|
targetEntity.Email = sourceEntity.Email; |
|
|
|
//}
|
|
|
|
//if (!string.IsNullOrWhiteSpace(sourceEntity.IdNo))
|
|
|
|
//{
|
|
|
|
targetEntity.IdNo = sourceEntity.IdNo; |
|
|
|
//}
|
|
|
|
targetEntity.IdNo = sourceEntity.IdNo; |
|
|
|
//if (!string.IsNullOrWhiteSpace(sourceEntity.MobileTelephone))
|
|
|
|
//{
|
|
|
|
targetEntity.MobileTelephone = sourceEntity.MobileTelephone; |
|
|
|
//}
|
|
|
|
//if (!string.IsNullOrWhiteSpace(sourceEntity.Telephone))
|
|
|
|
//{
|
|
|
|
targetEntity.Telephone = sourceEntity.Telephone; |
|
|
|
//}
|
|
|
|
//if (!string.IsNullOrWhiteSpace(sourceEntity.NationId))
|
|
|
|
//{
|
|
|
|
targetEntity.NationId = sourceEntity.NationId; |
|
|
|
//}
|
|
|
|
//if (!string.IsNullOrWhiteSpace(sourceEntity.PostalCode))
|
|
|
|
//{
|
|
|
|
targetEntity.PostalCode = sourceEntity.PostalCode; |
|
|
|
//}
|
|
|
|
if (sourceEntity.SexId != SexFlag.UnKnown) |
|
|
|
{ |
|
|
|
targetEntity.SexId = sourceEntity.SexId; |
|
|
|
|