Commit d679d2c8 by 章家宝

feat:导出内容

1 parent 62fa0550
...@@ -99,7 +99,7 @@ public class InspectorExportBean implements Serializable { ...@@ -99,7 +99,7 @@ public class InspectorExportBean implements Serializable {
private static String convertToHourMinuteSecond(Integer seconds) { private static String convertToHourMinuteSecond(Integer seconds) {
// 处理null/0/负数的边界情况,避免空指针和不合理显示 // 处理null/0/负数的边界情况,避免空指针和不合理显示
if (seconds == null || seconds <= 0) { if (seconds == null || seconds <= 0) {
return "0小时0分"; return "-";
} }
// 计算小时数(整除3600秒) // 计算小时数(整除3600秒)
long hours = seconds / 3600; long hours = seconds / 3600;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!