Compare commits
No commits in common. "8e104e133fb8f3c8cb962bedc65988d5df369e87" and "a73a79b627cd75bf5b29e722d0e1a3c14236b6dc" have entirely different histories.
8e104e133f
...
a73a79b627
|
|
@ -113,14 +113,6 @@ namespace IRaCIS.Core.Application.Contracts.DTO
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class TrialSiteSelect
|
|
||||||
{
|
|
||||||
public Guid SiteId { get; set; }
|
|
||||||
public string SiteName { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
public string AliasName { get; set; } = string.Empty;
|
|
||||||
}
|
|
||||||
|
|
||||||
public class TrialSiteScreeningDTO
|
public class TrialSiteScreeningDTO
|
||||||
{
|
{
|
||||||
public Guid Id { get; set; }
|
public Guid Id { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@ using IRaCIS.Core.Application.Service;
|
||||||
using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using IRaCIS.Core.Application.Auth;
|
using IRaCIS.Core.Application.Auth;
|
||||||
using IRaCIS.Application.Interfaces;
|
using IRaCIS.Application.Interfaces;
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
namespace IRaCIS.Core.Application.Services
|
namespace IRaCIS.Core.Application.Services
|
||||||
{
|
{
|
||||||
|
|
@ -111,15 +110,6 @@ namespace IRaCIS.Core.Application.Services
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public async Task<List<TrialSiteSelect>> GetTrialSiteSelectList(string siteName)
|
|
||||||
{
|
|
||||||
var list= _siteRepository
|
|
||||||
.WhereIf(!string.IsNullOrWhiteSpace(siteName), t => t.SiteName.Contains(siteName) || t.SiteNameCN.Contains(siteName) || t.AliasName.Contains(siteName))
|
|
||||||
.Select(t => new TrialSiteSelect() { SiteId = t.Id, SiteName = t.SiteName, AliasName = t.AliasName }).ToList();
|
|
||||||
|
|
||||||
return list;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>Setting页面 Site批量添加</summary>
|
/// <summary>Setting页面 Site批量添加</summary>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue