[agent-pipeline] pipe-20260328055039-5mki round-1

This commit is contained in:
DDD1542
2026-03-28 15:14:38 +09:00
parent 4289c7ef91
commit 21e30e5f60
120 changed files with 2787 additions and 1695 deletions
@@ -280,17 +280,17 @@ public class DdlService extends BaseService {
Map<String, Long> byDdlType = new LinkedHashMap<>();
for (Map<String, Object> row : byType) {
byDdlType.put(String.valueOf(row.get("ddlType")), toLong(row.get("count")));
byDdlType.put(String.valueOf(row.get("ddl_type")), toLong(row.get("count")));
}
Map<String, Long> byUserMap = new LinkedHashMap<>();
for (Map<String, Object> row : byUser) {
byUserMap.put(String.valueOf(row.get("userId")), toLong(row.get("count")));
byUserMap.put(String.valueOf(row.get("user_id")), toLong(row.get("count")));
}
return Map.of(
"totalExecutions", toLong(totalStats != null ? totalStats.get("totalExecutions") : null),
"successfulExecutions", toLong(totalStats != null ? totalStats.get("successfulExecutions") : null),
"failedExecutions", toLong(totalStats != null ? totalStats.get("failedExecutions") : null),
"totalExecutions", toLong(totalStats != null ? totalStats.get("total_executions") : null),
"successfulExecutions", toLong(totalStats != null ? totalStats.get("successful_executions") : null),
"failedExecutions", toLong(totalStats != null ? totalStats.get("failed_executions") : null),
"byDDLType", byDdlType,
"byUser", byUserMap,
"recentFailures", recentFailures