修改中心
parent
a60e00159d
commit
5956d32c36
|
@ -12,7 +12,7 @@ namespace IRaCIS.Application.Contracts
|
||||||
{
|
{
|
||||||
public Guid? Id { get; set; }
|
public Guid? Id { get; set; }
|
||||||
public string SiteName { get; set; } = String.Empty;
|
public string SiteName { get; set; } = String.Empty;
|
||||||
|
public string SiteNameCN { get; set; } = String.Empty;
|
||||||
public int Code { get; set; }
|
public int Code { get; set; }
|
||||||
public string SiteCode { get; set; } = String.Empty;
|
public string SiteCode { get; set; } = String.Empty;
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@ namespace IRaCIS.Application.Services
|
||||||
.WhereIf(!string.IsNullOrWhiteSpace(searchModel.AliasName), t => t.AliasName.Contains(searchModel.AliasName))
|
.WhereIf(!string.IsNullOrWhiteSpace(searchModel.AliasName), t => t.AliasName.Contains(searchModel.AliasName))
|
||||||
.WhereIf(!string.IsNullOrWhiteSpace(searchModel.City), t => t.City.Contains(searchModel.City))
|
.WhereIf(!string.IsNullOrWhiteSpace(searchModel.City), t => t.City.Contains(searchModel.City))
|
||||||
.WhereIf(!string.IsNullOrWhiteSpace(searchModel.Country), t => t.Country.Contains(searchModel.Country))
|
.WhereIf(!string.IsNullOrWhiteSpace(searchModel.Country), t => t.Country.Contains(searchModel.Country))
|
||||||
|
.WhereIf(!string.IsNullOrWhiteSpace(searchModel.Province), t => t.Country.Contains(searchModel.Province))
|
||||||
.ProjectTo<SiteSelectDTO>(_mapper.ConfigurationProvider);
|
.ProjectTo<SiteSelectDTO>(_mapper.ConfigurationProvider);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,15 +9,15 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
{
|
{
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public Hospital Hospital { get; set; }
|
public Hospital Hospital { get; set; }
|
||||||
public string SiteName { get; set; }
|
public string SiteName { get; set; } = string.Empty;
|
||||||
|
public string SiteNameCN{ get; set; } = string.Empty;
|
||||||
public string AliasName { get; set; } = string.Empty;
|
public string AliasName { get; set; } = string.Empty;
|
||||||
public string SiteCode { get; set; }
|
public string SiteCode { get; set; }
|
||||||
|
|
||||||
public int Code { get; set; }
|
public int Code { get; set; }
|
||||||
|
|
||||||
public string City { get; set; }
|
public string City { get; set; } = string.Empty;
|
||||||
public string Country { get; set; }
|
public string Country { get; set; } = string.Empty;
|
||||||
public Guid? HospitalId { get; set; }
|
public Guid? HospitalId { get; set; }
|
||||||
public int State { get; set; }
|
public int State { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue