class DatabaseSetEntryController {

    @RequestMapping(value = "/check")
    public ConfigCkeckResult check(@RequestParam("id") Long id, @CurrentUser LoginUser user) throws Exception {
        DatabaseSetEntry databaseSetEntry = dataBaseSetEntryDao.getDataBaseSetEntryById(id);
        ConfigCkeckResult<List<ConfigDataResponse>> sr = databaseSetEntryService.getCheckData(user, databaseSetEntry);
        if (sr.getCode() == ServiceResult.ERROR) {
            return sr;
        }
        return ConfigCheckSubset.checkData(sr.getItem());
    }

}