修改一版

This commit is contained in:
he
2022-07-18 10:52:36 +08:00
parent 60501a5e11
commit 29d72d847b
2 changed files with 6 additions and 6 deletions
@@ -53,7 +53,7 @@ namespace IRaCIS.Application.Services
{
var existsQuery = _clinicalDataTrialSetRepository
.WhereIf(indto.Id != null, x => x.Id != indto.Id)
.Where(x => x.ClinicalDataSetName == indto.ClinicalDataSetName);
.Where(x => x.ClinicalDataSetName == indto.ClinicalDataSetName&&x.TrialId==indto.TrialId);
if (await existsQuery.AnyAsync())
{