smartor/src/main/java/com/smartor/service/impl/ServiceSubtaskServiceImpl.java
@@ -411,7 +411,6 @@ // 处理空异常 if (MapUtils.isEmpty(result)) { result = new HashMap<>(); } // 确保所有 key 都有值,避免空指针异常 // MyBatis 的 SUM 在没有匹配行时会返回 null result.putIfAbsent("wzx", 0); @@ -422,7 +421,8 @@ result.putIfAbsent("yfs", 0); result.putIfAbsent("blq", 0); result.putIfAbsent("dsf", 0); result.putIfAbsent("total", 0); } return result; }