diff --git a/src/main/java/neatlogic/framework/cmdb/crossover/IResourceEntityCrossoverMapper.java b/src/main/java/neatlogic/framework/cmdb/crossover/IResourceEntityCrossoverMapper.java index b352615f37cafc56415813d52c046d02247ab04b..4885d089e543fc5dda4da08328d52cce04fe17fb 100644 --- a/src/main/java/neatlogic/framework/cmdb/crossover/IResourceEntityCrossoverMapper.java +++ b/src/main/java/neatlogic/framework/cmdb/crossover/IResourceEntityCrossoverMapper.java @@ -18,11 +18,7 @@ package neatlogic.framework.cmdb.crossover; import neatlogic.framework.cmdb.dto.resourcecenter.config.ResourceEntityVo; import neatlogic.framework.crossover.ICrossoverService; -import java.util.List; - public interface IResourceEntityCrossoverMapper extends ICrossoverService { ResourceEntityVo getResourceEntityByName(String name); - - List getAllResourceTypeCiIdList(); } diff --git a/src/main/java/neatlogic/framework/cmdb/crossover/IResourceEntityCrossoverService.java b/src/main/java/neatlogic/framework/cmdb/crossover/IResourceEntityCrossoverService.java new file mode 100644 index 0000000000000000000000000000000000000000..5594e80c3cefef5fe70968e3fc0349d75154a1f5 --- /dev/null +++ b/src/main/java/neatlogic/framework/cmdb/crossover/IResourceEntityCrossoverService.java @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2025 TechSure Co., Ltd. All Rights Reserved. + * This file is part of the NeatLogic software. + * Licensed under the NeatLogic Sustainable Use License (NSUL), Version 4.x – 2025. + * You may use this file only in compliance with the License. + * See the LICENSE file distributed with this work for the full license text. + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + +package neatlogic.framework.cmdb.crossover; + +import neatlogic.framework.cmdb.dto.ci.CiVo; +import neatlogic.framework.crossover.ICrossoverService; + +public interface IResourceEntityCrossoverService extends ICrossoverService { + + CiVo getAssetListRootCi(); + + CiVo getViewRootCi(String viewName); +}