@RequestMapping(value = "/queries/wm_custom_update", method = RequestMethod.POST) @ApiOperation(value = "Process request to execute customer queries") public int executeWMCustomQuery(@RequestBody CustomQuery query) { int result = queryService.executeWMCustomQueryUpdate(query); LOGGER.debug("got the result {}" + result); return result; }
@RequestMapping(value = "/queries/wm_custom", method = RequestMethod.POST) @ApiOperation(value = "Process request to execute customer queries") public Page<Object> executeWMCustomQuery(@RequestBody CustomQuery query, Pageable pageable) { Page<Object> result = queryService.executeWMCustomQuerySelect(query, pageable); LOGGER.debug("got the result {}" + result); return result; }