修改签署文档查看

This commit is contained in:
2025-12-05 14:13:30 +08:00
parent 3ee6f0ceaa
commit a075eb34cd
3 changed files with 2 additions and 3 deletions
@@ -164,7 +164,7 @@ namespace IRaCIS.Core.Application.Services
[HttpPost]
public async Task<PageOutput<TrialSignDocView>> GetTrialSignDocumentList(TrialDocQuery inQuery)
{
var trialDocQueryable = from trialDoc in _trialDocumentRepository.AsQueryable(true)
var trialDocQueryable = from trialDoc in _trialDocumentRepository.Where(t=>t.IsPublish)
.WhereIf(inQuery.TrialId != null, t => t.TrialId == inQuery.TrialId)
.Where(t => t.NeedConfirmedUserTypeList.Any(t => t.NeedConfirmUserTypeId == _userInfo.UserTypeId))