修改过滤查询
parent
e7bc9168ae
commit
2a0ee12780
|
@ -132,8 +132,8 @@ namespace IRaCIS.Application.Services
|
||||||
.WhereIf(_userInfo.UserTypeEnumInt==(int)UserTypeEnum.TA, t => t.UserTypeEnum== UserTypeEnum.ProjectManager)
|
.WhereIf(_userInfo.UserTypeEnumInt==(int)UserTypeEnum.TA, t => t.UserTypeEnum== UserTypeEnum.ProjectManager)
|
||||||
|
|
||||||
//PM 不审 只能加IM IQC
|
//PM 不审 只能加IM IQC
|
||||||
.WhereIf(qcProcessEnum == TrialQCProcess.NotAudit, t => t.UserTypeEnum == UserTypeEnum.IM)
|
.WhereIf(_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ProjectManager && 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|| t.UserTypeEnum == UserTypeEnum.IQC))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -28,13 +28,13 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public Guid CreateUserId { get; set; }
|
public Guid CreateUserId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public string LoginName { get; set; }
|
public string LoginName { get; set; }=string.Empty;
|
||||||
|
|
||||||
|
|
||||||
public UserOptType OptType { get; set; }
|
public UserOptType OptType { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public string LoginPassword { get; set; }
|
public string LoginPassword { get; set; } = string.Empty;
|
||||||
|
|
||||||
public bool IsSuccess { get; set; }
|
public bool IsSuccess { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue