fix: TypeScript 빌드 에러 수정
- tableManagementService: getTableDataWithEntityJoins options에 companyCode 타입 추가 - tableManagementController: Promise<void> 함수의 return 문 수정 - commonCodeService: CodeInfo 인터페이스에 menu_objid 필드 추가 - numberingRuleService: siblingObjids 변수 스코프 수정 (catch 블록 접근 가능하도록)
This commit is contained in:
@@ -1617,10 +1617,11 @@ export async function getCategoryColumnsByMenu(
|
||||
logger.info("📥 메뉴별 카테고리 컬럼 조회 요청", { menuObjid, companyCode });
|
||||
|
||||
if (!menuObjid) {
|
||||
return res.status(400).json({
|
||||
res.status(400).json({
|
||||
success: false,
|
||||
message: "메뉴 OBJID가 필요합니다.",
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
// 1. 형제 메뉴 조회
|
||||
@@ -1648,11 +1649,12 @@ export async function getCategoryColumnsByMenu(
|
||||
logger.info("✅ 형제 메뉴 테이블 조회 완료", { tableNames, count: tableNames.length });
|
||||
|
||||
if (tableNames.length === 0) {
|
||||
return res.json({
|
||||
res.json({
|
||||
success: true,
|
||||
data: [],
|
||||
message: "형제 메뉴에 연결된 테이블이 없습니다.",
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
// 3. 테이블들의 카테고리 타입 컬럼 조회 (테이블 라벨 포함)
|
||||
|
||||
Reference in New Issue
Block a user