main
黄海 1 year ago
parent be80bb78f5
commit 3ea21f8e50

@ -2009,7 +2009,7 @@ public class ZbdcModel {
cnt = xx_count + cz_count + gz_count + wq_count;
}
// 计算百分比
String percentage = String.format("%.1f%%", j.getDouble(k) / cnt);
String percentage = String.format("%.2f%%", j.getDouble(k) / cnt);
j.put(k, percentage);
}
}

@ -2,7 +2,7 @@
driverClassName=org.postgresql.Driver
user=postgres
password=DsideaL147258369
jdbcUrl=jdbc:postgresql://10.10.14.71:5432/HuangHai_db?reWriteBatchedInserts=true
jdbcUrl=jdbc:postgresql://10.10.14.71:5432/szjz_db?reWriteBatchedInserts=true
# 如果需要读写分离就配置下面的jdbcUrlSlave,不需要注释掉就行
#jdbcUrlSlave=jdbc:postgresql://10.10.14.72:5432/szjz_db?reWriteBatchedInserts=true
# redis

Loading…
Cancel
Save