From 3ff6166ea62799068064845fb083d1abb3d902a6 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期一, 09 十二月 2024 14:47:42 +0800
Subject: [PATCH] plt-slice属性调整后WEB端引用的旧属性也做了相应的调整

---
 Source/plt-web/plt-web-parent/plt-web-permission/src/main/java/com/vci/web/service/impl/WebLoServiceImpl.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Source/plt-web/plt-web-parent/plt-web-permission/src/main/java/com/vci/web/service/impl/WebLoServiceImpl.java b/Source/plt-web/plt-web-parent/plt-web-permission/src/main/java/com/vci/web/service/impl/WebLoServiceImpl.java
index 1df3cbf..4376956 100644
--- a/Source/plt-web/plt-web-parent/plt-web-permission/src/main/java/com/vci/web/service/impl/WebLoServiceImpl.java
+++ b/Source/plt-web/plt-web-parent/plt-web-permission/src/main/java/com/vci/web/service/impl/WebLoServiceImpl.java
@@ -841,8 +841,8 @@
 
 		for(i = 0; i < attrValList.size(); ++i) {
 			attrVal = attrValList.get(i);
-			if (attrVal.attrName.toUpperCase().equals(attributeName.toUpperCase())) {
-				attrVal.attrVal = attributeValue;
+			if (attrVal.name.toUpperCase().equals(attributeName.toUpperCase())) {
+				attrVal.value = attributeValue;
 				isExist = true;
 				break;
 			}
@@ -850,8 +850,8 @@
 
 		if (!isExist) {
 			attrVal = new AttributeValue();
-			attrVal.attrName = attributeName.toUpperCase();
-			attrVal.attrVal = attributeValue;
+			attrVal.name = attributeName.toUpperCase();
+			attrVal.value = attributeValue;
 			attrValList.add(attrVal);
 		}
 

--
Gitblit v1.9.3