From cf7d913ff24fce658f72cb996d056ccdaf1b96e0 Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期一, 17 三月 2025 11:36:50 +0800
Subject: [PATCH] 新增设备类信息管理,修改bug,删除多余结构

---
 lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/util/FindsProductionsChildrenUtil.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/util/FindsProductionsChildrenUtil.java b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/util/FindsProductionsChildrenUtil.java
index a46ec96..e9af14d 100644
--- a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/util/FindsProductionsChildrenUtil.java
+++ b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/util/FindsProductionsChildrenUtil.java
@@ -1,5 +1,6 @@
 package org.jeecg.modules.system.util;
 
+import cn.hutool.core.util.StrUtil;
 import org.jeecg.common.util.oConvertUtils;
 import org.jeecg.modules.system.entity.MdcProduction;
 import org.jeecg.modules.system.model.MdcProductionTreeModel;
@@ -25,6 +26,9 @@
         List<MdcProductionTreeModel> records = new ArrayList<>();
         for (int i = 0; i < recordList.size(); i++) {
             MdcProduction mdcProduction = recordList.get(i);
+            if (StrUtil.isEmpty(mdcProduction.getDescription())){
+                mdcProduction.setDescription("");
+            }
             records.add(new MdcProductionTreeModel(mdcProduction));
         }
         List<MdcProductionTreeModel> tree = findChildren(records, idList);

--
Gitblit v1.9.3