From a0431deb4d557cd50d304df885a275edf1390f56 Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期四, 16 一月 2025 17:34:32 +0800
Subject: [PATCH] 1、修改属性报错修护。 2、修改用户信息增加个人信息处修改判断处理。

---
 Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/OsQueryTemplateImpl.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/OsQueryTemplateImpl.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/OsQueryTemplateImpl.java
index 2988f09..666d847 100644
--- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/OsQueryTemplateImpl.java
+++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/impl/OsQueryTemplateImpl.java
@@ -1760,6 +1760,9 @@
                         AttributeDef att = platformClientUtil.getAttributeService().getAttributeDefByName(abName_);
                         if(att == null || "".equals(att.oid)){
                             att = allSysAttr.get(abName_.toLowerCase());
+                            if(att == null || "".equals(att.oid)){
+                                continue;
+                            }
                         }
                         att.name = pName + abName_ ;
                         AttributeDefDTO attrDto = new AttributeDefDTO();

--
Gitblit v1.9.3