用户反馈增加项目过滤
continuous-integration/drone/push Build is passing Details

IRC_NewDev
hang 2024-08-02 13:58:54 +08:00
parent 1875b56b37
commit 994a770fef
2 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,8 @@ namespace IRaCIS.Core.Application.ViewModel
public DateTime? EndCreatime { get; set; }
public Guid? TrialId { get; set; }
}

View File

@ -36,6 +36,7 @@ namespace IRaCIS.Core.Application.Service
var userFeedBackQueryable = _userFeedBackRepository
.WhereIf(isCRCOrIR, t => t.CreateUserId == _userInfo.Id)
.WhereIf(inQuery.State != null, t => t.State == inQuery.State)
.WhereIf(inQuery.TrialId != null, t => t.TrialId == inQuery.TrialId)
.WhereIf(inQuery.QuestionType != null, t => t.QuestionType == inQuery.QuestionType)
.WhereIf(inQuery.BeginCreatime != null, t => t.CreateTime >= inQuery.BeginCreatime)