优化执行结果查看分页

This commit is contained in:
gaoyutao
2025-12-02 18:41:18 +08:00
parent 7d26d2fb3b
commit a40a6f344e
5 changed files with 13 additions and 9 deletions
@@ -146,8 +146,7 @@ public class SpeedUtils {
switch (unit) {
case "Gb": return new BigDecimal("1000000000");
case "Mb": return new BigDecimal("1000000");
case "Kb": return new BigDecimal("1000");
default: return BigDecimal.ONE; // bit
default: return new BigDecimal("1000"); //Kb
}
}
public static String calculateUnit(List<?> list,
@@ -223,7 +222,7 @@ public class SpeedUtils {
BigDecimal.ZERO, BigDecimal.ZERO,
BigDecimal.ZERO, BigDecimal.ZERO,
BigDecimal.ZERO, BigDecimal.ZERO,
"bit"
"Kb"
);
}