| | |
| | | @Resource |
| | | private ICodeSrchCondConfigService ICodeSrchCondConfigService; |
| | | |
| | | @Resource |
| | | private NacosConfigCache nacosConfigCache; |
| | | |
| | | /** |
| | | * 通过ID查询单条数据 |
| | | * |
| | |
| | | // 根据租户进行区分对应的参照配置 |
| | | Map<String, Object> conditionMap = bladeQueryObject.getConditionMap(); |
| | | // 查询所属租户下的和开启全局的参照配置信息 |
| | | if(!nacosConfigCache.getAdminUserInfo().getTenantId().equals(AuthUtil.getTenantId())){ |
| | | if(!NacosConfigCache.getAdminUserInfo().getTenantId().equals(AuthUtil.getTenantId())){ |
| | | conditionMap.put("tenantId",AuthUtil.getTenantId()); |
| | | } |
| | | conditionMap.put("isOpenGlobal","true"); |