From b77c70bb4fd39f3a08d2a3bc5e16155652452990 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期五, 15 十一月 2024 16:28:08 +0800
Subject: [PATCH] 整合代码
---
Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/frameworkcore/compatibility/impl/SmFunctionQueryServicePlatformImpl.java | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/frameworkcore/compatibility/impl/SmFunctionQueryServicePlatformImpl.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/frameworkcore/compatibility/impl/SmFunctionQueryServicePlatformImpl.java
index 38ac64a..c053571 100644
--- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/frameworkcore/compatibility/impl/SmFunctionQueryServicePlatformImpl.java
+++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/frameworkcore/compatibility/impl/SmFunctionQueryServicePlatformImpl.java
@@ -340,6 +340,7 @@
menuVO.setModeType("FunctionObject");
menuVO.setIsValid(info.isValid);
menuVO.setHasChildren(false);
+ menuVO.setCategory(1);
menuVOList.add(menuVO);
}
}
@@ -357,6 +358,7 @@
MenuVO menuVO = this.functionInfoToMenuVO(funcInfo);
menuVO.setChildType(childType);
menuVO.setModeType("FunctionObject");
+ menuVO.setCategory(0);
menuVOList.add(menuVO);
}
}
@@ -389,7 +391,9 @@
FunctionInfo funcInfo = funcInfos[i];
MenuVO menuVO = this.functionInfoToMenuVO(funcInfo);
menuVO.setModeType("FunctionObject");
+ childType = this.checkChildObject(funcInfos[i].id);
menuVO.setChildType(childType);
+ menuVO.setCategory(0);
menuVOList.add(menuVO);
}
return menuVOList;
@@ -416,7 +420,7 @@
menuVO.setName(operateInfo.name);
menuVO.setCode(operateInfo.identify);
menuVO.setAlias(operateInfo.alias);
- menuVO.setCategory(2);
+ menuVO.setCategory(1);
menuVO.setChildType(0);
menuVO.setRemark(operateInfo.desc);
menuVO.getMeta().put("keepAlive",false);
@@ -442,7 +446,7 @@
{
MenuVO menuVO = new MenuVO();
menuVO.setId(funcInfo.id);
- menuVO.setValid(funcInfo.isValid);
+ menuVO.setIsValid(funcInfo.isValid);
menuVO.setSource(funcInfo.icon);
menuVO.setPathC(funcInfo.resourceC);
menuVO.setResourceDotNet(funcInfo.resourceDotNet);
@@ -471,7 +475,7 @@
@Override
public int checkChildObject(String moduleId) throws VciBaseException {
long res = 0;
- try{//20D63A69-C6BC-8519-8B2B-E5ACFEA62394
+ try{
res = platformClientUtil.getFrameworkService().checkChildObject(moduleId);
}catch (PLException e) {
e.printStackTrace();
--
Gitblit v1.9.3