[agent-pipeline] pipe-20260328071539-8dqp round-2

This commit is contained in:
DDD1542
2026-03-28 16:24:36 +09:00
parent 8f61c49f19
commit a7c9ba2982
9 changed files with 61 additions and 15 deletions
@@ -32,10 +32,14 @@ public class TableManagementService extends BaseService {
public List<Map<String, Object>> getTableList() {
List<Map<String, Object>> tables = sqlSession.selectList(NS + "getTableList");
// column_count BigInt → Integer 변환
// column_count BigInt → Integer 변환 + camelCase 키 추가 (Node 호환)
for (Map<String, Object> t : tables) {
Object cnt = t.get("column_count");
if (cnt instanceof Number) t.put("column_count", ((Number) cnt).intValue());
if (cnt instanceof Number) {
int intVal = ((Number) cnt).intValue();
t.put("column_count", intVal);
t.put("columnCount", intVal);
}
}
return tables;
}