如何在pieChart上从Rowmapper获取数据?

时间:2017-04-04 20:19:48

标签: java primefaces pie-chart

public FewosByRegion mapRow(ResultSet rs, int rowInt) throws SQLException
{
    FewosByRegion fewosByRegion = new FewosByRegion();
    fewosByRegion.setGenferseegebiet(rs.getString(1));
    fewosByRegion.setTotalRecordsG(rs.getInt(2));
    return fewosByRegion;
}

public PieChartModel getPieModel()
{
    this.pieModel.getData().put(FewosByRegion.setGenferseegebiet(null));
    this.pieModel.getData().put("RegionName", 010);
}

0 个答案:

没有答案