diff --git a/bocloud.ams.service/src/main/java/com/bocloud/ams/service/instance/impl/InstanceServiceImpl.java b/bocloud.ams.service/src/main/java/com/bocloud/ams/service/instance/impl/InstanceServiceImpl.java index 7d46a8a..502aaf8 100644 --- a/bocloud.ams.service/src/main/java/com/bocloud/ams/service/instance/impl/InstanceServiceImpl.java +++ b/bocloud.ams.service/src/main/java/com/bocloud/ams/service/instance/impl/InstanceServiceImpl.java @@ -207,11 +207,6 @@ public class InstanceServiceImpl implements InstanceService { String table = CmdbUtils.CMDB_INSTANCE + moduleCode.toLowerCase(); String valueTable = CmdbUtils.CMDB_INSTANCE_VALUE + moduleCode.toLowerCase(); boolean hasAdminRole = checkAdminRole(userId); - log.info("pager:{}",JSON.toJSONString(pager)); - log.info("table:{}",JSON.toJSONString(table)); - log.info("valueTable:{}",JSON.toJSONString(valueTable)); - log.info("userId:{}",JSON.toJSONString(userId)); - log.info("hasAdminRole:{}",JSON.toJSONString(hasAdminRole)); int total = instanceRepository.count(pager.getParams(), table, valueTable, userId, hasAdminRole); list = this.instanceRepository.list(pager, table, valueTable, userId, hasAdminRole); convertInstanceValue(list, moduleId, userId, hasAdminRole); diff --git a/bocloud.ams.service/src/main/java/com/bocloud/ams/service/module/impl/ModuleServiceImpl.java b/bocloud.ams.service/src/main/java/com/bocloud/ams/service/module/impl/ModuleServiceImpl.java index ebc7631..73cc5bf 100644 --- a/bocloud.ams.service/src/main/java/com/bocloud/ams/service/module/impl/ModuleServiceImpl.java +++ b/bocloud.ams.service/src/main/java/com/bocloud/ams/service/module/impl/ModuleServiceImpl.java @@ -432,8 +432,6 @@ public class ModuleServiceImpl implements ModuleService { List nameList = Arrays.asList("网络设备", "物理服务器", "安全设备"); //查询根节点 List rootGroups = moduleGroupRepository.queryRootInName(nameList); - log.info("rootGroups:{}", JSON.toJSONString(rootGroups)); - log.info("context:{}", JSON.toJSONString(context)); Map resultMap = new HashMap<>(); @@ -468,7 +466,6 @@ public class ModuleServiceImpl implements ModuleService { } private void getInstaceCount(ModuleGroup rootGroup, Map resultMap, Long userId) throws Exception { - log.info("rootGroup:{}", JSON.toJSONString(rootGroup)); //获取当前ModuleGroup下所有的modle Pager pager = new Pager(); List modelParamList = new ArrayList<>(); @@ -498,7 +495,6 @@ public class ModuleServiceImpl implements ModuleService { paramList.add(param); boolean adminRole = instanceService.checkAdminRole(userId); int count = instanceRepository.count(paramList, table, valueTable, userId, adminRole); - log.info("count:{}", count); total += count; } resultMap.put(rootGroup.getCode(), total);