修改过滤查询

Uat_Study
hang 2023-07-05 10:27:26 +08:00
parent e7bc9168ae
commit 2a0ee12780
2 changed files with 4 additions and 4 deletions

View File

@ -132,8 +132,8 @@ namespace IRaCIS.Application.Services
.WhereIf(_userInfo.UserTypeEnumInt==(int)UserTypeEnum.TA, t => t.UserTypeEnum== UserTypeEnum.ProjectManager)
//PM 不审 只能加IM IQC
.WhereIf(qcProcessEnum == TrialQCProcess.NotAudit, t => t.UserTypeEnum == UserTypeEnum.IM)
.WhereIf(qcProcessEnum != TrialQCProcess.NotAudit, t =>( t.UserTypeEnum == UserTypeEnum.IM|| t.UserTypeEnum == UserTypeEnum.IQC))
.WhereIf(_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ProjectManager && qcProcessEnum == TrialQCProcess.NotAudit, t => t.UserTypeEnum == UserTypeEnum.IM)
.WhereIf(_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ProjectManager && qcProcessEnum != TrialQCProcess.NotAudit, t =>( t.UserTypeEnum == UserTypeEnum.IM|| t.UserTypeEnum == UserTypeEnum.IQC))

View File

@ -28,13 +28,13 @@ namespace IRaCIS.Core.Domain.Models
public Guid CreateUserId { get; set; }
public string LoginName { get; set; }
public string LoginName { get; set; }=string.Empty;
public UserOptType OptType { get; set; }
public string LoginPassword { get; set; }
public string LoginPassword { get; set; } = string.Empty;
public bool IsSuccess { get; set; }