엔티티 타입 다중 표시 컬럼 기능 구현

Frontend:
- EntityTypeConfig 인터페이스에 displayColumns 배열 추가
- EntityTypeConfigPanel에서 여러 표시 컬럼 선택 UI 구현
- 구분자 설정 기능 추가
- 하위 호환성을 위한 displayColumn 유지

Backend:
- EntityJoinConfig에 displayColumns 배열 지원
- 화면별 엔티티 설정을 전달받는 API 확장
- CONCAT을 사용한 다중 컬럼 표시 SQL 생성
- 기존 단일 컬럼과의 호환성 유지

이제 화면마다 다른 표시 컬럼 조합을 설정할 수 있음
예: 한 화면에서는 '이름'만, 다른 화면에서는 '이름 - 부서명' 표시
This commit is contained in:
kjs
2025-09-23 15:58:54 +09:00
parent 699efd25a2
commit 4aefb5be6a
6 changed files with 209 additions and 193 deletions

View File

@@ -2023,6 +2023,7 @@ export class TableManagementService {
sourceColumn: string;
joinAlias: string;
}>;
screenEntityConfigs?: Record<string, any>; // 화면별 엔티티 설정
}
): Promise<EntityJoinResponse> {
const startTime = Date.now();
@@ -2042,8 +2043,8 @@ export class TableManagementService {
};
}
// Entity 조인 설정 감지
let joinConfigs = await entityJoinService.detectEntityJoins(tableName);
// Entity 조인 설정 감지 (화면별 엔티티 설정 전달)
let joinConfigs = await entityJoinService.detectEntityJoins(tableName, options.screenEntityConfigs);
// 추가 조인 컬럼 정보가 있으면 조인 설정에 추가
if (