From 2ef894e5b462d91b9426ab2fadf494dd643ed1cd Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 01 十一月 2024 17:18:37 +0800
Subject: [PATCH] 添加web端显示图标icon字段

---
 Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/frameworkcore/compatibility/impl/SmFunctionQueryServicePlatformImpl.java |    9 +++++----
 1 files changed, 5 insertions(+), 4 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 d065a32..38ac64a 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
@@ -263,7 +263,7 @@
             }
             MenuVO functionVO = new MenuVO();
             functionVO.setId(menu.id);
-            functionVO.setSource(menu.image);
+            functionVO.setSource(menu.icon);
             //if(StringUtils.isBlank(menu.resourceB)){
             //    continue;
             //}
@@ -438,11 +438,12 @@
      * @param funcInfo
      * @return
      */
-    private MenuVO functionInfoToMenuVO(FunctionInfo funcInfo){
+    private MenuVO functionInfoToMenuVO(FunctionInfo funcInfo)
+    {
         MenuVO menuVO = new MenuVO();
         menuVO.setId(funcInfo.id);
         menuVO.setValid(funcInfo.isValid);
-        menuVO.setSource(funcInfo.image);
+        menuVO.setSource(funcInfo.icon);
         menuVO.setPathC(funcInfo.resourceC);
         menuVO.setResourceDotNet(funcInfo.resourceDotNet);
         menuVO.setResourceMobile(funcInfo.resourceMobile);
@@ -491,7 +492,7 @@
             }
             MenuVO functionVO = new MenuVO();
             functionVO.setId(menu.id);
-            functionVO.setSource(menu.image);
+            functionVO.setSource(menu.icon);
 //            if(StringUtils.isBlank(menu.resourceB) ){
 //                continue;
 //            }

--
Gitblit v1.9.3