Package net.loyin.model

Examples of net.loyin.model.Wagepay


    if (f == false)
      render("list.html");
  }
  public void add() {
    Long id = getParaToLong(0, 0L);
    Wagepay systemparam=new Wagepay();
    if(id!=null&&id!=0){
      systemparam=Wagepay.dao.findById(id);
    }
    setAttr("pojo",systemparam);
    render("add.html");
View Full Code Here


    render("add.html");
  }
  public void save() {
   
    try{
      Wagepay m=getModel(Wagepay.class);
      if(m.getLong("id")!=null){
        m.update();
      }else{
        m.save();
      }
      toDwzJson(200, "保存成功!", navTabId);
    }catch(Exception e){
      toDwzJson( 300, "保存异常!");
    }
View Full Code Here

TOP

Related Classes of net.loyin.model.Wagepay

Copyright © 2018 www.massapicom. 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.