@@ -63,7 +63,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||
|
||||
public bool? IsDistinguishCriteria { get; set; }
|
||||
|
||||
public bool IsSystemLevel { get; set; } = false;
|
||||
public int? SystemLevel { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -128,7 +128,8 @@ namespace IRaCIS.Core.Application.Contracts
|
||||
public List<UserTypeEnum> ToUserTypeList { get; set; }
|
||||
public List<UserTypeEnum> CopyUserTypeList { get; set; }
|
||||
|
||||
public bool IsSystemLevel { get; set; } = false;
|
||||
|
||||
public int? SystemLevel { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||
[HttpPost]
|
||||
public async Task<PageOutput<EmailNoticeConfigView>> GetEmailNoticeConfigList(EmailNoticeConfigQuery queryEmailNoticeConfig)
|
||||
{
|
||||
var emailNoticeConfigQueryable = _emailNoticeConfigrepository.Where(t=>t.IsSystemLevel==queryEmailNoticeConfig.IsSystemLevel)
|
||||
var emailNoticeConfigQueryable = _emailNoticeConfigrepository.WhereIf(queryEmailNoticeConfig.SystemLevel!=null, t =>t.SystemLevel == queryEmailNoticeConfig.SystemLevel)
|
||||
.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)
|
||||
|
||||
@@ -6,19 +6,18 @@
|
||||
|
||||
using IRaCIS.Core.Application.ViewModel;
|
||||
namespace IRaCIS.Core.Application.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// IUserFeedBackService
|
||||
/// </summary>
|
||||
public interface IUserFeedBackService
|
||||
{
|
||||
/// <summary>
|
||||
/// IUserFeedBackService
|
||||
/// </summary>
|
||||
public interface IUserFeedBackService
|
||||
{
|
||||
|
||||
Task<PageOutput<UserFeedBackView>> GetUserFeedBackList(UserFeedBackQuery inQuery);
|
||||
|
||||
Task<IResponseOutput> AddOrUpdateUserFeedBack(UserFeedBackAddOrEdit addOrEditUserFeedBack);
|
||||
Task<PageOutput<UserFeedBackView>> GetUserFeedBackList(UserFeedBackQuery inQuery);
|
||||
|
||||
|
||||
Task<IResponseOutput> DeleteUserFeedBack(Guid userFeedBackId);
|
||||
|
||||
Task<IResponseOutput> DeleteUserFeedBack(Guid userFeedBackId);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user