1. 修复指令协议字段为Null的bug

2. 添加fake动态规则生成代码(python)
This commit is contained in:
EnderByEndera
2024-04-10 15:45:09 +08:00
parent 18a3e1529e
commit b98813791c
8 changed files with 302 additions and 12 deletions

View File

@@ -108,7 +108,9 @@ public class TaskService {
}
public List<TaskCommandInfo> getStaticCommandInfos(Long taskId) {
return taskMapper.getStaticCommandInfos(taskId);
List<TaskCommandInfo> staticCommandInfos = taskMapper.getStaticCommandInfos(taskId);
staticCommandInfos.forEach(TaskCommandInfo::setProtocolNum);
return staticCommandInfos;
}
public List<DynamicTaskInfo> getDynamicTaskInfos(Long taskId) {