修改bug
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
2f86e2dae1
commit
91794266e7
|
@ -7071,6 +7071,11 @@
|
|||
自定义计算标记
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingTableQuestionTrialAddOrEdit.TrialId">
|
||||
<summary>
|
||||
TrialId
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ReadingTableQuestionTrialAddOrEdit.IsDepend">
|
||||
<summary>
|
||||
IsDepend
|
||||
|
|
|
@ -304,9 +304,9 @@ namespace IRaCIS.Application.Services
|
|||
|
||||
if (trial.CROId != null)
|
||||
{
|
||||
if (await _repository.AnyAsync<Sponsor>(t => t.Id == trial.SponsorId && t.IsTrialLevel))
|
||||
if (await _repository.AnyAsync<CRO>(t => t.Id == trial.CROId && t.IsTrialLevel))
|
||||
{
|
||||
await _repository.BatchUpdateAsync<Sponsor>(t => t.Id == trial.SponsorId, u => new Sponsor() { TrialId = trial.Id });
|
||||
await _repository.BatchUpdateAsync<CRO>(t => t.Id == trial.CROId, u => new CRO() { TrialId = trial.Id });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue