| | |
| | | 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; |
| | |
| | | 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); |