fix:数据导出中心

This commit is contained in:
taojinlong 2024-04-09 17:16:32 +08:00
parent 309a8cda92
commit b1a716a7c6

View File

@ -685,7 +685,7 @@ public class ExportCenterService {
String unit = "Mb"; String unit = "Mb";
Double size = 0.0; Double size = 0.0;
if((double) length/1024/1024 > 1){ if((double) length/1024/1024 > 1){
if((double) length/1024/1024 > 1){ if((double) length/1024/1024/1024 > 1){
unit = "Gb"; unit = "Gb";
size = Double.valueOf(String.format("%.2f", (double) length/1024/1024/1024)); size = Double.valueOf(String.format("%.2f", (double) length/1024/1024/1024));
}else { }else {