public void fillDetail(List<Environment> list) {
        if (CollectionUtils.isEmpty(list)) {
            return;
        }
        List<Long> idList = EasyCollectionUtils.toList(list, Environment::getId);
        List<Environment> queryList = environmentService.listQuery(idList).getData();
        Map<Long, Environment> queryMap = EasyCollectionUtils.toIdentityMap(queryList, Environment::getId);
        for (Environment data : list) {
            if (data == null || data.getId() == null) {
                continue;
            }
            Environment query = queryMap.get(data.getId());
            add(data, query);
        }
    }
Fill in detailed information

@param list
chat2db-server/chat2db-server-domain/chat2db-server-domain-core/src/main/java/ai/chat2db/server/domain/core/converter/EnvironmentConverter.java