Examples of SystemParam


Examples of com.google.code.lightssh.project.param.entity.SystemParam

    ListPage<SystemParam> page = new ListPage<SystemParam>(1);
    SearchCondition sc = new SearchCondition();
    sc.equal("group", group ).equal("name",param.getName() );
    page = dao.list(page, sc);
   
    SystemParam exists = (page.getList()==null||page.getList().isEmpty())
      ?null:page.getList().get(0);
 
    return exists == null || exists.getIdentity().equals(param.getIdentity() );
  }
View Full Code Here

Examples of com.google.code.lightssh.project.param.entity.SystemParam

   */
  protected String getParamValue( Map<String,SystemParam> paramMap,String name ){
    if( name == null || paramMap == null || paramMap.isEmpty() )
      return null;
   
    SystemParam param = paramMap.get(name);
    if( param == null )
      return null;
   
    return param.getValue();
  }
View Full Code Here

Examples of net.loyin.model.Systemparam

    setAttr("collist", new String[]{"类别","名称","值","排序号","备注"});
    render("index.html");
  }
  public void add() {
    Long id = getParaToLong(0, 0L);
    Systemparam systemparam=new Systemparam();
    if(id!=null&&id!=0){
      systemparam=Systemparam.dao.findById(id);
    }
    setAttr("pojo",systemparam);
    render("add.html");
View Full Code Here

Examples of net.loyin.model.Systemparam

    render("add.html");
  }
  public void save() {
   
    try{
      Systemparam m=getModel(Systemparam.class);
      if(m.getLong("id")!=null){
        m.update();
      }else{
        m.save();
      }
      toDwzJson(200, "保存成功!", navTabId);
    }catch(Exception e){
      toDwzJson( 300, "保存异常!");
    }
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.