ow
This commit is contained in:
1 parent
04c69d4941
commit
4f57b65451
15 files changed
+2338
-24
No files matched your search
@@ -0,0 +1,19 @@
|
||||
using CloudBuilder.Core.Authorization;
|
||||
using CloudBuilder.Security.Entity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CloudBuilder.Security.Data
|
||||
{
|
||||
|
||||
[TypeScript]
|
||||
public class SecurityHelpFeatureData
|
||||
{
|
||||
public SecurityHelpFeatureGroupEntity? SecurityHelpFeatureGroup { get; set; }
|
||||
|
||||
public SecurityHelpFeatureEntity[]? SecurityHelpFeatures { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -12,6 +12,8 @@ namespace CloudBuilder.Security.Data
|
||||
[TypeScript]
|
||||
public class SecurityHelpFunctionData
|
||||
{
|
||||
public SecurityHelpFunctionEntity? SecurityHelpFunction { get; set; }
|
||||
|
||||
public SecurityHelpFeatureEntity[]? SecurityHelpFeatures { get; set; }
|
||||
|
||||
public SecurityHelpFeatureGroupEntity[]? SecurityHelpFeatureGroups { get; set; }
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
using CloudBuilder.Core.Authorization;
|
||||
using CloudBuilder.Core.Service;
|
||||
using CloudBuilder.Security.Entity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CloudBuilder.Security.Data
|
||||
{
|
||||
[TypeScript]
|
||||
public class SecurityHelpFunctionResultData : SearchCriteriaResultData
|
||||
{
|
||||
public SecurityHelpFunctionEntity[] Datas { get; set; } = null!;
|
||||
|
||||
public SecurityHelpFeatureEntity[] Features { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
@@ -12,5 +12,14 @@ namespace CloudBuilder.Security.Policy
|
||||
public const string SECURITY_USER_USER_NAME = "USER_NAME";
|
||||
public const string SECURITY_USER_FORMAT = "000000";
|
||||
|
||||
// 帮助文档相关:用于 SecurityGeneratorNumberService 生成各表主键
|
||||
public const string SECURITY_HELP = "SECURITY_HELP";
|
||||
public const string SECURITY_HELP_FUNCTION_ID = "HELP_FUNCTION_ID";
|
||||
public const string SECURITY_HELP_STEP_ID = "HELP_STEP_ID";
|
||||
public const string SECURITY_HELP_FEATURE_GROUP_ID = "HELP_FEATURE_GROUP_ID";
|
||||
public const string SECURITY_HELP_FEATURE_ID = "HELP_FEATURE_ID";
|
||||
public const string SECURITY_HELP_FUNCTION_FEATURE_ID = "HELP_FUNCTION_FEATURE_ID";
|
||||
public const string SECURITY_HELP_FORMAT = "000000";
|
||||
|
||||
}
|
||||
}
|
||||
@@ -7,8 +7,24 @@ using CloudBuilder.Security.SearchCriteria;
|
||||
|
||||
namespace CloudBuilder.Security.Service
|
||||
{
|
||||
public interface ISecurityHelpFunctionService :IServiceBase<SecurityHelpFunctionEntity, string ,SecurityHelpFunctionSearchCriteria>
|
||||
public interface ISecurityHelpFunctionService :IServiceBase<SecurityHelpFunctionData, string ,SecurityHelpFunctionSearchCriteria>
|
||||
{
|
||||
SecurityHelpFunctionData FindAll();
|
||||
SecurityHelpFunctionResultData FindBySearchCriteria(SecurityHelpFunctionSearchCriteria tc);
|
||||
|
||||
SecurityHelpFunctionResultData FindFeatureBySearchCriteria(SecurityHelpFunctionSearchCriteria tc);
|
||||
|
||||
// 帮助文档维护:主表 + 步骤 + 引用的功能点组
|
||||
SecurityHelpFunctionData FindByFunctionName(string functionName);
|
||||
SecurityHelpFunctionData SaveFunction(SecurityHelpFunctionData data);
|
||||
void DeleteByFunctionName(string functionName);
|
||||
|
||||
// 功能点组维护:组 + 组内功能点
|
||||
SecurityHelpFeatureData FindByGroupCode(string groupCode);
|
||||
SecurityHelpFeatureData SaveFeatureGroup(SecurityHelpFeatureData data);
|
||||
void DeleteByGroupCode(string groupCode);
|
||||
|
||||
// 新增帮助文档时,下拉选择「给哪个功能写帮助」
|
||||
SecurityFunctionDisplayData[] FindFunctionNameOptions();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user