From de6358d7a71dda8661573dc5805f3a3a9a52821a Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Mon, 28 Oct 2024 14:10:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=91=E5=89=8D=E7=AB=AF=E4=BC=A0houseId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/bonus/material/ma/service/impl/TypeServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bonus-modules/bonus-material/src/main/java/com/bonus/material/ma/service/impl/TypeServiceImpl.java b/bonus-modules/bonus-material/src/main/java/com/bonus/material/ma/service/impl/TypeServiceImpl.java index a0164353..bf7fb37e 100644 --- a/bonus-modules/bonus-material/src/main/java/com/bonus/material/ma/service/impl/TypeServiceImpl.java +++ b/bonus-modules/bonus-material/src/main/java/com/bonus/material/ma/service/impl/TypeServiceImpl.java @@ -343,7 +343,7 @@ public class TypeServiceImpl implements ITypeService { // --- 数据校验 ---- if (whHouseSet == null || whHouseSet.getTypeId() == null) { continue; } // 构造函数定义0级Tree对象 - TreeSelect thisTree = new TreeSelect(whHouseSet.getId(),whHouseSet.getHouseName(),0,null); + TreeSelect thisTree = new TreeSelect(whHouseSet.getHouseId(),whHouseSet.getHouseName(),0,null); // 从Map中直接获取对应的1级节点 TreeSelect oneLevelTree = maTypeMap.get(whHouseSet.getTypeId()); // 转换为集合存入0级Tree对象中