@Override public String delete( Model model, @PathVariable Long id, CircleTopicEntity entity, HttpServletRequest request, HttpServletResponse response) throws RebirthException { circleService.delete(CircleTopicEntity.class, id); return "/circle/circleDeatil"; }
@Override public String batchDelete( Model model, @RequestParam("items") Long[] items, HttpServletRequest request, HttpServletResponse response) throws RebirthException { List<CircleTopicEntity> list = circleService.findByIds(CircleTopicEntity.class, Arrays.asList(items)); circleService.delete(list); return "circle/circleDeatil"; }