Compare commits

..

No commits in common. "19f52bc1332433b14b3857d80bb29c46407b34cf" and "fb0fd7d91f9f053772b63342f9bdbe14d339e84a" have entirely different histories.

4 changed files with 3 additions and 35 deletions

View File

@ -18817,14 +18817,6 @@
<param name="inDto"></param>
<returns></returns>
</member>
<member name="M:IRaCIS.Core.Application.TrialConfigService.UpdateTrialExtralConfig(System.Guid,IRaCIS.Application.Contracts.TrialExtraConfig)">
<summary>
更新项目额外json 配置
</summary>
<param name="trialId"></param>
<param name="trialExtralConfig"></param>
<returns></returns>
</member>
<member name="T:IRaCIS.Core.Application.Triggers.ChallengeStateTrigger">
<summary>
访视 质疑状态 触发修改

View File

@ -43,10 +43,6 @@ namespace IRaCIS.Core.Application.Contracts
[NotDefault]
public Guid TrialId { get; set; }
public bool? IsPublish { get; set; }
public string? FileTypeCode { get; set; }
}
///<summary> TrialDocumentAddOrEdit 列表查询参数模型</summary>

View File

@ -154,8 +154,6 @@ namespace IRaCIS.Core.Application.Services
.WhereIf(inQuery.FileTypeId != null, t => t.FileTypeId == inQuery.FileTypeId)
.WhereIf(inQuery.UserTypeId != null, t => t.NeedConfirmedUserTypeList.Any(t => t.NeedConfirmUserTypeId == inQuery.UserTypeId))
.WhereIf(inQuery.IsDeleted != null, t => t.IsDeleted == inQuery.IsDeleted)
.WhereIf(inQuery.IsPublish != null, t => t.IsPublish == inQuery.IsPublish)
.WhereIf(!string.IsNullOrEmpty(inQuery.FileTypeCode), t => t.FileType.Code== inQuery.FileTypeCode)
.ProjectTo<TrialDocumentView>(_mapper.ConfigurationProvider, new { token = _userInfo.UserToken, isEn_Us = _userInfo.IsEn_Us });
return await trialDocumentQueryable.ToPagedListAsync(inQuery);

View File

@ -1536,23 +1536,5 @@ namespace IRaCIS.Core.Application
await _trialRepository.SaveChangesAsync();
return ResponseOutput.Ok();
}
/// <summary>
/// 更新项目额外json 配置
/// </summary>
/// <param name="trialId"></param>
/// <param name="trialExtralConfig"></param>
/// <returns></returns>
[HttpPut]
public async Task<IResponseOutput> UpdateTrialExtralConfig(Guid trialId, TrialExtraConfig trialExtralConfig)
{
var trial = await _trialRepository.FirstOrDefaultAsync(t => t.Id == trialId);
trial.TrialExtraConfigJsonStr = trialExtralConfig.ToJsonStr();
await _trialRepository.SaveChangesAsync();
return ResponseOutput.Ok();
}
}
}