@Controller@RequestMapping(value = "mst/feedback")public class FeedbackController extends BaseController{ @Autowired private FeedbackService feedbackService; @RequestMapping(value = { "init", "" }) public String init(Demo demo, HttpServletRequest request, HttpServletResponse response, Model model) { model.addAttribute("gridModel", getGridConfig("feedback")); return "modules/mst/feedback/feedback"; } @RequestMapping(value = { "getList" }, method = RequestMethod.POST) @ResponseBody public String getList(FeedbackModel feedbackModel, HttpServletRequest request, HttpServletResponse response) throws ValidationException {// ActivityInfo activityInfo = (ActivityInfo) JsonUtils.getBean(request, ActivityInfo.class); FeedbackInfo feedbackInfo = new FeedbackInfo(); List<FeedbackModel> feedbackList = feedbackService.getList(feedbackModel); JQResultModel resultModel = new JQResultModel(feedbackList, feedbackInfo.getPage()); return JsonUtils.toString(resultModel); }}
添加回答
举报
0/150
提交
取消