Jay
2024-11-01 03e8aca3ad6201c0d74e00d4c8d7367cdaaa54f9
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()));
        }