上传监控bug
This commit is contained in:
@@ -5,6 +5,7 @@ using IRaCIS.Core.Domain.Share;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using IRaCIS.Core.Application.Auth;
|
||||
using IRaCIS.Core.Domain.Models;
|
||||
|
||||
namespace IRaCIS.Application.Services
|
||||
{
|
||||
@@ -138,10 +139,10 @@ namespace IRaCIS.Application.Services
|
||||
/// <summary>
|
||||
/// 计划外访视 获取受试者选择下拉框列表
|
||||
/// </summary>
|
||||
[HttpGet("{siteId:guid}/{trialId:guid}")]
|
||||
public List<SubjectSelect> GetSubjectListBySiteId(Guid siteId, Guid trialId)
|
||||
[HttpGet("{trialSiteId:guid}/{trialId:guid}")]
|
||||
public List<SubjectSelect> GetSubjectListBySiteId(Guid trialSiteId, Guid trialId)
|
||||
{
|
||||
var query = _subjectRepository.Where(t => t.TrialSiteId == siteId && t.TrialId == trialId && t.Status == SubjectStatus.OnVisit).Select(u => new SubjectSelect()
|
||||
var query = _subjectRepository.Where(t => t.TrialSiteId == trialSiteId && t.TrialId == trialId && t.Status == SubjectStatus.OnVisit).Select(u => new SubjectSelect()
|
||||
{
|
||||
Code = u.Code,
|
||||
FirstName = u.FirstName,
|
||||
|
||||
Reference in New Issue
Block a user