Package org.g4studio.core.metatype.impl

Examples of org.g4studio.core.metatype.impl.BaseDto


    //设置数字值的前缀
    graphConfig.setNumberPrefix("$");
    graphConfig.setShowNames(new Boolean(true));
    //使用这种方式可以加入框架没有封装的原生报表属性,原生属可以参考《开发指南》的相关章节
    //graphConfig.put("propertyName", "value");
        Dto qDto = new BaseDto();   
        qDto.put("product", "1");
        //查询原始数据
    List list = g4Reader.queryForList("Demo.getFcfDataList", qDto);
    List dataList = new ArrayList();
    //将原始数据对象转换为框架封装的Set报表数据对象
    for (int i = 0; i < list.size(); i++) {
View Full Code Here


   * 删除部门 类内部调用
   *
   * @param pDto
   */
  private void deleteDept(Dto pDto) {
    Dto changeLeafDto = new BaseDto();
    Dto tempDto = (BaseDto) g4Dao.queryForObject("Organization.queryDeptItemsByDto", pDto);
    if (G4Utils.isNotEmpty(tempDto)) {
      changeLeafDto.put("parentid", tempDto.getAsString("parentid"));
    }
    g4Dao.delete("Organization.deleteEaroleAuthorizeInDeptManage", pDto);
    g4Dao.delete("Organization.deleteEaroleInDeptManage", pDto);
    g4Dao.delete("Organization.deleteEauserauthorizeInDeptManage", pDto);
    g4Dao.delete("Organization.deleteEauserauthorizeInDeptManage2", pDto);
View Full Code Here

    cateList.add(new Categorie("三月"));
    cateList.add(new Categorie("四月"));
    cateList.add(new Categorie("五月"));
    cateList.add(new Categorie("六月"));
    categoriesConfig.setCategories(cateList);
    List list = getFcfDataList4Group(new BaseDto());
    String xmlString = FcfDataMapper.toFcfXmlData(list, graphConfig, categoriesConfig);
    request.setAttribute("xmlString", xmlString);
    return mapping.findForward("2dColumnMsView");
  }
View Full Code Here

    cateList.add(new Categorie("三月"));
    cateList.add(new Categorie("四月"));
    cateList.add(new Categorie("五月"));
    cateList.add(new Categorie("六月"));
    categoriesConfig.setCategories(cateList);
    List list = getFcfDataList4Group(new BaseDto());
    String xmlString = FcfDataMapper.toFcfXmlData(list, graphConfig, categoriesConfig);
    request.setAttribute("xmlString", xmlString);
    return mapping.findForward("3dColumnMsView");
  }
View Full Code Here

   *
   * @param
   * @return
   */
  public Dto queryDeptinfoByDeptid(Dto pDto) {
    Dto outDto = new BaseDto();
    outDto.putAll((BaseDto) g4Dao.queryForObject("Organization.queryDeptinfoByDeptid", pDto));
    outDto.put("success", new Boolean(true));
    return outDto;
  }
View Full Code Here

    cateList.add(new Categorie("九月"));
    cateList.add(new Categorie("十月"));
    cateList.add(new Categorie("十一月"));
    cateList.add(new Categorie("十二月"));
    categoriesConfig.setCategories(cateList);
    List list = getFcfDataList4AreaGroup(new BaseDto());
    String xmlString = FcfDataMapper.toFcfXmlData(list, graphConfig, categoriesConfig);
    request.setAttribute("xmlString", xmlString);
    return mapping.findForward("areaMsView");
  }
View Full Code Here

    cateList.add(new Categorie("九月"));
    cateList.add(new Categorie("十月"));
    cateList.add(new Categorie("十一月"));
    cateList.add(new Categorie("十二月"));
    categoriesConfig.setCategories(cateList);
    List list = getFcfDataList4LineGroup(new BaseDto());
    String xmlString = FcfDataMapper.toFcfXmlData(list, graphConfig, categoriesConfig);
    request.setAttribute("xmlString", xmlString);
    return mapping.findForward("lineMsView");
  }
View Full Code Here

   * 保存用户主题信息
   *
   * @param pDto
   */
  public Dto saveUserTheme(Dto pDto) {
    Dto outDto = new BaseDto();
    g4Dao.update("Organization.saveUserTheme", pDto);
    outDto.put("success", new Boolean(true));
    return outDto;
  }
View Full Code Here

    cateList.add(new Categorie("九月"));
    cateList.add(new Categorie("十月"));
    cateList.add(new Categorie("十一月"));
    cateList.add(new Categorie("十二月"));
    categoriesConfig.setCategories(cateList);
    List list = getFcfDataList4LineGroup42Y(new BaseDto());
    String xmlString = FcfDataMapper.toFcfXmlData(list, graphConfig, categoriesConfig);
    request.setAttribute("xmlString", xmlString);
    System.out.println(xmlString);
    return mapping.findForward("lineMs2YView");
  }
View Full Code Here

   * 保存用户布局信息
   *
   * @param pDto
   */
  public Dto saveUserLayout(Dto pDto) {
    Dto outDto = new BaseDto();
    g4Dao.update("Organization.saveUserLayout", pDto);
    outDto.put("success", new Boolean(true));
    return outDto;
  }
View Full Code Here

TOP

Related Classes of org.g4studio.core.metatype.impl.BaseDto

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.