|
@@ -131,6 +131,19 @@ public class FtaAnalysisDataController {
|
|
|
return ServerResponse.createBySuccess(diagramDataService.getMirrorTransferAnalysisId(analysisId));
|
|
|
}
|
|
|
|
|
|
+ @Operation(summary = "获取当前分析关联的所有父子分析的节点,用于属性表格功能")
|
|
|
+ @GetMapping("/getAllNode/{analysisId}")
|
|
|
+ @Parameters(value = {
|
|
|
+ @Parameter(name = "Authorization", description = "验证信息", in = ParameterIn.HEADER)
|
|
|
+ })
|
|
|
+ public ServerResponse<List<FtaNode>> getAllNode(HttpServletRequest request, @PathVariable(value = "analysisId") String analysisId) {
|
|
|
+ HeaderUserInfo userInfo = GlobalExceptionHandler.parseUserInfo();
|
|
|
+ if (StringUtils.isBlank(analysisId)) {
|
|
|
+ return ServerResponse.createByErrorMessage(FtaParamDataExceptionEnum.getLanguageMessageByKey(FtaParamDataExceptionEnum.所传数据不合法, userInfo.getLanguageKey()));
|
|
|
+ }
|
|
|
+ return ServerResponse.createBySuccess(diagramDataService.getAllNode(analysisId));
|
|
|
+ }
|
|
|
+
|
|
|
@Operation(summary = "获取事件编码")
|
|
|
@GetMapping("/getEventCode/{analysisId}")
|
|
|
@Parameters(value = {
|