@Override public ServerProfileSchemaDto findLatestServerProfileSchema(String appId) { validateSqlId(appId, "Incorrect application id."); return getDto(serverProfileSchemaDao.findLatestByAppId(appId)); }
String id = dto.getId(); if (isBlank(id)) { ServerProfileSchema serverProfileSchema = serverProfileSchemaDao.findLatestByAppId(appId); int version = -1; if (serverProfileSchema != null) {