package cn.com.qmth.stmms.analysis.menu;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/analysis/menu")
public class AnalysisMenuController {

    @RequestMapping("/changemenu")
    @ResponseBody
    public void changeMenu(HttpServletRequest request, @RequestParam String menuNo) {
        request.getSession().setAttribute("menuNo", menuNo);
    }

}
