From bab43330bf6f48bdb7bfb258611f51bb05ef56fe Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 06 一月 2025 09:02:21 +0800
Subject: [PATCH] 动态数据长度

---
 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/controller/admin/IndItemController.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/controller/admin/IndItemController.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/controller/admin/IndItemController.java
index 15f37fe..1babd7a 100644
--- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/controller/admin/IndItemController.java
+++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/controller/admin/IndItemController.java
@@ -97,7 +97,7 @@
         }else if (ItemTypeEnum.DER.getCode().equals(entity.getItemType())){
             IndItemDerVO derItem = indItemDerService.getByItemId(entity.getId());
             respVO.setDerItem(derItem);
-            respVO.setAtomItem(indItemAtomService.get(derItem.getAtomItemId()));
+            respVO.setAtomItem(indItemAtomService.getByItemId(derItem.getAtomItemId()));
         }else if (ItemTypeEnum.CAL.getCode().equals(entity.getItemType())){
             respVO.setCalItem(indItemCalService.getByItemId(entity.getId()) == null ? new IndItemCalVO() : indItemCalService.getByItemId(entity.getId()));
         }

--
Gitblit v1.9.3