Package com.skymobi.qc.admin.dal.domain

Examples of com.skymobi.qc.admin.dal.domain.Layout


      HashMap<String, Object> map = new HashMap<String, Object>();
      map.put("project", projectBO.getProjectByAttr("id", projectId));
      map.put("field", cf);
     
      Layout layout = getLayout(projectId);
      //换行
      if (layout.getCurrent_cols() == layout.getCols()){
        cf.setLayout_rows(layout.getRows()+1);
        cf.setLayout_cols(1);
      }else{
        cf.setLayout_rows(layout.getRows());
        cf.setLayout_cols(layout.getCols()+1);
      }
     
      fieldsMapper.customFieldsAddProject(map);

    } else {
View Full Code Here


    }
   
  }
 
  public Layout getLayout(int projectId){
    Layout layout = fieldsMapper.getLayoutCols(projectId);
    layout.setCols(2);
    return layout;
  }
View Full Code Here

TOP

Related Classes of com.skymobi.qc.admin.dal.domain.Layout

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.