From 24820701b09281e03edf2e22db62edab7f4da53b Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期二, 10 三月 2026 16:08:09 +0800
Subject: [PATCH] feat(info): 支持获取并返回下级项目信息

---
 src/main/java/com/ruoyi/projectManagement/service/impl/InfoServiceImpl.java |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/ruoyi/projectManagement/service/impl/InfoServiceImpl.java b/src/main/java/com/ruoyi/projectManagement/service/impl/InfoServiceImpl.java
index 2c21be4..8bcfc2b 100644
--- a/src/main/java/com/ruoyi/projectManagement/service/impl/InfoServiceImpl.java
+++ b/src/main/java/com/ruoyi/projectManagement/service/impl/InfoServiceImpl.java
@@ -105,6 +105,9 @@
         CompletableFuture<ShippingAddressDto> shippingFuture = CompletableFuture.supplyAsync(() -> shippingAddressHandleService.getByInfoId(id));
         CompletableFuture<List<SalesLedgerProduct>> listCompletableFuture = CompletableFuture.supplyAsync(() -> salesLedgerService.getSalesLedgerProductListByRelateId(id,SaleEnum.MANAGEMENT));
 
+        // 涓嬬骇椤圭洰淇℃伅
+        CompletableFuture<List<SaveInfoDto>> subordinateInfoListFuture = CompletableFuture.supplyAsync(() -> infoHandleService.getSubordinateInfo(id));
+
         // 鍟嗗搧
 
         // 绛夊緟鎵�鏈夊紓姝ュ畬鎴�
@@ -114,13 +117,13 @@
         ContractInfoDto contract = contractFuture.get();
         ShippingAddressDto shippingAddress = shippingFuture.get();
         List<SalesLedgerProduct> salesLedgerProductList = listCompletableFuture.get();
-
+        List<SaveInfoDto> saveInfoDtos = subordinateInfoListFuture.get();
         InfoVo vo = new InfoVo();
         vo.setInfo(info);
         vo.setContractInfo(contract);
         vo.setShippingAddress(shippingAddress);
         vo.setSalesLedgerProductList(salesLedgerProductList);
-
+        vo.setSubordinateInfoList(saveInfoDtos);
         return vo;
     }
 

--
Gitblit v1.9.3