From 4207402c6905c8698a4c5d6b5a3830c397f8b956 Mon Sep 17 00:00:00 2001
From: "1437892690@qq.com" <1437892690@qq.com>
Date: Sat, 6 Sep 2025 17:11:55 +0800
Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20=E5=B0=86=E6=B6=89?=
=?UTF-8?q?=E5=8F=8Ascence=5Fipobject=5Fdetail=E8=A7=86=E5=9B=BE=E7=9A=84S?=
=?UTF-8?q?QL=E8=AF=AD=E5=8F=A5=E6=94=B9=E6=88=90=E5=8A=A8=E6=80=81sql?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
关联 #[1469827334504448]将涉及scence_ipobject_detail视图的SQL语句改成动态sql http://192.168.0.96:8090/demo/rdm.html#/task-detail/939050947543040/939050947543050/1469827334504448
---
...esourceCenterResourceCrossoverService.java | 64 ++++++++++++++++++-
1 file changed, 61 insertions(+), 3 deletions(-)
diff --git a/src/main/java/neatlogic/framework/cmdb/crossover/IResourceCenterResourceCrossoverService.java b/src/main/java/neatlogic/framework/cmdb/crossover/IResourceCenterResourceCrossoverService.java
index 8fdcbf97..b79ee9bd 100644
--- a/src/main/java/neatlogic/framework/cmdb/crossover/IResourceCenterResourceCrossoverService.java
+++ b/src/main/java/neatlogic/framework/cmdb/crossover/IResourceCenterResourceCrossoverService.java
@@ -16,9 +16,7 @@ along with this program. If not, see .*/
package neatlogic.framework.cmdb.crossover;
import com.alibaba.fastjson.JSONObject;
-import neatlogic.framework.cmdb.dto.resourcecenter.AccountVo;
-import neatlogic.framework.cmdb.dto.resourcecenter.ResourceSearchVo;
-import neatlogic.framework.cmdb.dto.resourcecenter.ResourceVo;
+import neatlogic.framework.cmdb.dto.resourcecenter.*;
import neatlogic.framework.cmdb.dto.tag.TagVo;
import neatlogic.framework.crossover.ICrossoverService;
@@ -74,5 +72,65 @@ public interface IResourceCenterResourceCrossoverService extends ICrossoverServi
List getResourceListByIdList(List idList);
+ List getResourceListByIdList(List idList, List selectFieldNameList);
+
+ int getResourceCountByNameKeyword(ResourceSearchVo searchVo);
+
+ int getResourceCountByIpKeyword(ResourceSearchVo searchVo);
+
+ int getAppResourceCount(ResourceSearchVo searchVo);
+
+ List getAppResourceIdList(ResourceSearchVo searchVo);
+
+ List getAppResourceListByIdList(ResourceSearchVo searchVo);
+
+ Long getResourceIdByIpAndPortAndName(ResourceSearchVo searchVo);
+
+ List getResourceIdListByIpAndPortAndName(ResourceSearchVo searchVo);
+
+ List getResourceListByIpAndPortAndName(ResourceSearchVo searchVo);
+
+ List getResourceListByIpAndPortAndNameWithFilter(ResourceSearchVo searchVo);
+
+ List getResourceByIdList(List idList);
+
+ List getAuthResourceList(ResourceSearchVo searchVo);
+
+ ResourceVo getResourceById(Long id);
+
+ Long getResourceIdByResourceId(Long id);
+
+ List checkResourceIdListIsExists(List idList);
+
+ List getResourceIdListByAppSystemIdAndModuleIdAndEnvId(ResourceVo resourceVo);
+
+ List getResourceListByTypeIdListAndIpList(List typeIdList, List ipList);
+
+ ResourceVo getResourceByIpAndPortAndNameAndTypeName(String ip, Integer port, String name, String typeName);
+
+ ResourceVo getResourceByIpAndPort(String ip, Integer port);
+
+ List searchAccountComponent(AccountComponentVo accountComponentVo);
+
+ int searchAccountComponentCount(AccountComponentVo accountComponentVo);
+
+ List getAppEnvListByViewNameAndAppSystemIdAndAppModuleIdAndInspectStatusList(String viewName, Long appSystemId, Long appModuleId, List inspectStatusList);
+
+ List getAppEnvListByAppSystemIdAndAppModuleId(Long appSystemId, Long appModuleId);
+
+ List