组态bug修改

This commit is contained in:
hzj
2024-10-23 08:48:33 +08:00
parent 4316e72521
commit 469a4ba63e

View File

@@ -393,12 +393,12 @@ public class CsLedgerServiceImpl extends ServiceImpl<CsLedgerMapper, CsLedger> i
government.setChildren(engineeringList);
List<CsLedgerVO> tree = new ArrayList<>();
// if (CollUtil.isNotEmpty(portables)) {
if (CollUtil.isNotEmpty(portables)) {
tree.add(portable);
// }
// if (CollUtil.isNotEmpty(deviceList)) {
}
if (CollUtil.isNotEmpty(deviceList)) {
tree.add(government);
// }
}
return tree;
}