Examples of MyVisit


Examples of edu.zzuli.common.MyVisit

      gg_czyb = new GG_CZYB();
      String jgbh = ServletActionContext.getRequest().getParameter("jgbh");
      if (jgbh != null && jgbh.length() > 0) {
        this.jgbh = jgbh;
      } else {
        MyVisit myVisit = (MyVisit) ServletActionContext. getRequest().getSession().getAttribute("myVisit");
        this.jgbh = myVisit.getGG_JGBH().getJgbh();
      }
      ServletActionContext.getRequest().setAttribute("gg_czyb", gg_czyb);
      ServletActionContext.getRequest().setAttribute("jgbh", this.jgbh);
    }
    return "success";
View Full Code Here

Examples of edu.zzuli.common.MyVisit

 
  public String execute() {
    ServletActionContext.getRequest().getParameter("jgbh");
    ServletActionContext.getRequest().getParameter("czyid");
    if (this.jgbh == null || this.jgbh.length() == 0) {
      MyVisit myVisit = (MyVisit) ServletActionContext. getRequest().getSession().getAttribute("myVisit");
      this.jgbh = myVisit.getGG_JGBH().getJgbh();
    }
    return "success";
  }
View Full Code Here

Examples of edu.zzuli.common.MyVisit

      au = SecurityContextHolder.getContext().getAuthentication();
    if (au == null || au.getName() == null || au.getName().length() == 0) {
      SecurityContextHolder.clearContext();
      return "error";
    } else {
      MyVisit myVisit = new MyVisit();
      myVisit.setLoginInfoMap(this.loginService.saveLoginInfo(au.getName(), ServletActionContext. getRequest().getRemoteAddr()));
      ActionContext.getContext().getSession().put("myVisit",myVisit);
      ActionContext.getContext().getSession().put(Constants_core.LOGIN_IP, ServletActionContext. getRequest().getRemoteAddr());
//      ServletActionContext. getRequest().getSession().setAttribute("myVisit",myVisit);
//      ServletActionContext. getRequest().getSession().setAttribute(Constants_core.LOGIN_IP, ServletActionContext. getRequest().getRemoteAddr());
      List<Map> listXTGN = getListXTGN(myVisit);
View Full Code Here

Examples of edu.zzuli.common.MyVisit

  private Map roletype;
 
  public String execute() {
    try {
      if (gg_czlb.getId() == null || "".equals(gg_czlb.getId())) {
        MyVisit myVisit = (MyVisit) ServletActionContext. getRequest().getSession().getAttribute("myVisit");
        gg_czlb.setJgbh(myVisit.getGG_JGBH().getJgbh());
      }
      gnsqService.saveOrUpdatePO(gg_czlb);
      this.setGg_czlb(gg_czlb);
      ajaxResult = "success";
    } catch (Exception e) {
View Full Code Here

Examples of edu.zzuli.common.MyVisit

  private Map roletype;
 
  public String execute() {
    try {
      if (gg_czlb.getId() == null || "".equals(gg_czlb.getId())) {
        MyVisit myVisit = (MyVisit) ServletActionContext. getRequest().getSession().getAttribute("myVisit");
        gg_czlb.setJgbh(myVisit.getGG_JGBH().getJgbh());
      }
      gnsqService.saveOrUpdatePO(gg_czlb);
      this.setGg_czlb(gg_czlb);
      ajaxResult = "success";
    } catch (Exception e) {
View Full Code Here

Examples of edu.zzuli.common.MyVisit

  private List<TreeNode> treeNodes;
 
  public String execute() {
    //MyVisit myVisit = (MyVisit) ActionContext.getContext().getSession().get("myVisit");
//    String sid = ServletActionContext. getRequest().getSession().getId();
    MyVisit myVisit = (MyVisit) ServletActionContext. getRequest().getSession().getAttribute("myVisit");
    this.treeNodes = this.zzjgglService.getZzjgTree(myVisit.getGG_JGBH().getJgbh());
    ajaxResult = "success";
    return ajaxResult;
  }
View Full Code Here

Examples of edu.zzuli.common.MyVisit

  }
 
  public List<GG_CZYB> listResults(Pagination pagination) {
    String jgbh = ServletActionContext.getRequest().getParameter("jgbh");
    if (jgbh == null || jgbh.length() == 0) {
      MyVisit myVisit = (MyVisit) ServletActionContext. getRequest().getSession().getAttribute("myVisit");
      jgbh = myVisit.getGG_JGBH().getJgbh();
    }
    String sql = "select id,mc,dlh from gg_czyb where jgbh = :JGBH and id != 'admin' order by gg_czyb.zcsj";
    MapSqlParameterSource paramMap = new MapSqlParameterSource();
    paramMap.addValue("JGBH", jgbh);
    return zzjgglService.selectSplit(sql,paramMap,pagination);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.