lyh
2025-01-24 0c9b8b3752b0a83c4b0b12b7aa6d40b413f91782
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);