|
|
|
@ -1908,7 +1908,6 @@ public class ZbdcModel {
|
|
|
|
|
//移除多余属性
|
|
|
|
|
j2.remove("id");
|
|
|
|
|
j2.remove("bureau_id");
|
|
|
|
|
String burea_name = j2.getString("bureau_name");
|
|
|
|
|
j2.remove("bureau_name");
|
|
|
|
|
j2.remove("year");
|
|
|
|
|
j2.remove("school_type_name");
|
|
|
|
@ -2003,7 +2002,9 @@ public class ZbdcModel {
|
|
|
|
|
cnt = xx_count + cz_count + gz_count + wq_count;
|
|
|
|
|
}
|
|
|
|
|
// 计算百分比
|
|
|
|
|
String percentage = String.format("%.2f%%", j.getDouble(k) / cnt);
|
|
|
|
|
String percentage;
|
|
|
|
|
if (cnt == 0) percentage = "0.00%";
|
|
|
|
|
else percentage = String.format("%.2f%%", j.getDouble(k) / cnt);
|
|
|
|
|
j.put(k, percentage);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|