1 feat: 触发器功能增强及菜单集成
2
3 - 添加 CreateTriggerWithMenuDto 数据传输对象,用于同时创建触发器及关联菜单
4 - 在 TriggerDataService 中新增 AddTriggerWithMenu 方法,实现触发器与菜单的同时创建
5 - 更新 TriggersViewModel 以使用新的触发器和菜单创建流程
6 - 在 MenuType 枚举中添加 TriggerMenu 类型
7 - 调整 InitializeRepository 中触发器菜单的图标
8 - 更新相关服务中的注释,将 Trigger 替换为 TriggerMenu 以保持一致
9 - 修改时间记录方式,使用 DateTime.Now 替代 DateTime.UtcNow
10 - 优化 TriggerManagementService 中的触发器创建与存储流程
11 - 更新触发器评估和管理服务中的日志文本,统一使用 TriggerMenu 术语
This commit is contained in:
@@ -177,7 +177,7 @@ namespace DMS.Application.Services.Database
|
||||
// // 获取关联的触发器ID列表
|
||||
// var triggerIds = await _repositoryManager.GetTriggerIdsByVariableIdAsync(variableId);
|
||||
|
||||
// var triggers = new List<Trigger>();
|
||||
// var triggers = new List<TriggerMenu>();
|
||||
// if (triggerIds.Any())
|
||||
// {
|
||||
// // 获取所有关联的触发器
|
||||
|
||||
Reference in New Issue
Block a user