From 0c9b8b3752b0a83c4b0b12b7aa6d40b413f91782 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期五, 24 一月 2025 11:31:26 +0800 Subject: [PATCH] NC程序签派流程配置 --- 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