@RequestMapping(value = "{id}", method = RequestMethod.PUT) public @ResponseBody Object update(@RequestBody UpdateBonusFlagVo updatebonusflagVo) throws Exception { UpdateBonusFlagUC updatebonusflagUC = new UpdateBonusFlagUC(); return updatebonusflagUC.updatflag( updatebonusflagService, updatelogService, actionlogService, updatebonusflagVo); }
@RequestMapping(method = RequestMethod.GET) public @ResponseBody Object select() throws Exception { HttpServletRequest request = WebUtils.getRequestByContext(); String rschacctno = request.getParameter("rschacctno").trim(); UpdateBonusFlagUC updatebonusflagUC = new UpdateBonusFlagUC(); return updatebonusflagUC.getlist(updatebonusflagService, rschacctno); }