系统邮件上线到配置预修改
continuous-integration/drone/push Build is passing Details

IRC_NewDev
hang 2024-07-25 14:46:13 +08:00
parent 6311884a5c
commit 44bcdf7973
3 changed files with 4 additions and 1 deletions

View File

@ -63,6 +63,8 @@ namespace IRaCIS.Core.Application.Contracts
public bool? IsDistinguishCriteria { get; set; }
public bool IsSystemLevel { get; set; } = false;
}
///<summary> EmailNoticeConfigAddOrEdit 列表查询参数模型</summary>

View File

@ -28,7 +28,7 @@ namespace IRaCIS.Core.Application.Contracts
[HttpPost]
public async Task<PageOutput<EmailNoticeConfigView>> GetEmailNoticeConfigList(EmailNoticeConfigQuery queryEmailNoticeConfig)
{
var emailNoticeConfigQueryable = _emailNoticeConfigrepository
var emailNoticeConfigQueryable = _emailNoticeConfigrepository.Where(t=>t.IsSystemLevel==queryEmailNoticeConfig.IsSystemLevel)
.WhereIf(queryEmailNoticeConfig.IsDistinguishCriteria != null, t => t.IsDistinguishCriteria == queryEmailNoticeConfig.IsDistinguishCriteria)
.WhereIf(queryEmailNoticeConfig.CriterionTypeEnum != null, t => t.CriterionTypeEnum == queryEmailNoticeConfig.CriterionTypeEnum)
.WhereIf(queryEmailNoticeConfig.BusinessScenarioEnum != null, t => t.BusinessScenarioEnum == queryEmailNoticeConfig.BusinessScenarioEnum)

View File

@ -69,6 +69,7 @@ namespace IRaCIS.Core.Domain.Models
public bool IsSystemLevel { get; set; }
/// <summary>
/// 是否区分标准