diff --git a/backend-node/src/services/entityJoinService.ts b/backend-node/src/services/entityJoinService.ts index d2db8c9e..c0667ac9 100644 --- a/backend-node/src/services/entityJoinService.ts +++ b/backend-node/src/services/entityJoinService.ts @@ -73,13 +73,20 @@ export class EntityJoinService { separator: " - ", }; + logger.info(`๐Ÿ” writer ์กฐ์ธ ์„ค์ •:`, JSON.stringify(writerJoinConfig, null, 2)); + // ์กฐ์ธ ์„ค์ • ์œ ํšจ์„ฑ ๊ฒ€์ฆ - if (await this.validateJoinConfig(writerJoinConfig)) { + const isValid = await this.validateJoinConfig(writerJoinConfig); + logger.info(`๐Ÿ” writer ์กฐ์ธ ๊ฒ€์ฆ ๊ฒฐ๊ณผ: ${isValid}`); + + if (isValid) { joinConfigs.push(writerJoinConfig); logger.info(`โœ… writer ์ปฌ๋Ÿผ ์กฐ์ธ ์„ค์ • ์ถ”๊ฐ€๋จ: writer_name`); } else { logger.warn(`โŒ writer ์ปฌ๋Ÿผ ์กฐ์ธ ์„ค์ • ๊ฒ€์ฆ ์‹คํŒจ`); } + } else { + logger.info(`โ„น๏ธ writer ์ปฌ๋Ÿผ ์—†์Œ: ${tableName}`); } for (const column of entityColumns) { diff --git a/frontend/lib/registry/components/table-list/TableListComponent.tsx b/frontend/lib/registry/components/table-list/TableListComponent.tsx index 838361d5..37b7cddf 100644 --- a/frontend/lib/registry/components/table-list/TableListComponent.tsx +++ b/frontend/lib/registry/components/table-list/TableListComponent.tsx @@ -1051,8 +1051,15 @@ export const TableListComponent: React.FC = ({ if (value === null || value === undefined) return "-"; // ๐ŸŽฏ writer ์ปฌ๋Ÿผ ์ž๋™ ๋ณ€ํ™˜: user_id -> user_name - if (column.columnName === "writer" && rowData && rowData.writer_name) { - return rowData.writer_name; + if (column.columnName === "writer") { + console.log("๐Ÿ” writer ์ปฌ๋Ÿผ ๋ฐ์ดํ„ฐ:", { + value, + writer_name: rowData?.writer_name, + rowData + }); + if (rowData && rowData.writer_name) { + return rowData.writer_name; + } } // ๐ŸŽฏ ์—”ํ‹ฐํ‹ฐ ์ปฌ๋Ÿผ ํ‘œ์‹œ ์„ค์ •์ด ์žˆ๋Š” ๊ฒฝ์šฐ