From 28ca3d9f9e6e7eeeb7a7f2a7f50012350f3934c3 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 13 十一月 2024 18:07:11 +0800 Subject: [PATCH] 优化业务数据的查询接口;修改业务数据保存和编辑接口没有保存基础默认属性问题。 --- Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/frameworkcore/compatibility/impl/SmFunctionQueryServicePlatformImpl.java | 8 ++++++-- 1 files changed, 6 insertions(+), 2 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 f0db871..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); @@ -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