From e12d37a5ad7c217cc2e4b1eb0d3ea024195d668c Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Thu, 27 Nov 2025 18:55:18 +0900
Subject: (김준회) dolce v2: 잘못된 컬럼 제거
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/dolce/table/gtt-drawing-list-columns.tsx | 36 +++++++++++++---------------
 1 file changed, 16 insertions(+), 20 deletions(-)

(limited to 'lib/dolce/table/gtt-drawing-list-columns.tsx')

diff --git a/lib/dolce/table/gtt-drawing-list-columns.tsx b/lib/dolce/table/gtt-drawing-list-columns.tsx
index da29c910..a72e221d 100644
--- a/lib/dolce/table/gtt-drawing-list-columns.tsx
+++ b/lib/dolce/table/gtt-drawing-list-columns.tsx
@@ -51,29 +51,25 @@ export function createGttDrawingListColumns({
       },
     },
     {
-      accessorKey: "CategoryENM",
-      header: t("drawingList.columns.category"),
+      accessorKey: "DrawingMoveGbn",
+      header: "Type",
       minSize: 120,
       cell: ({ row }) => {
-        return <div>{row.getValue("CategoryENM")}</div>;
-      },
-    },
-    {
-      accessorKey: "DrawingUsageENM",
-      header: t("detailDrawing.columns.drawingUsage"),
-      minSize: 120,
-      cell: ({ row }) => {
-        return <div>{row.getValue("DrawingUsageENM")}</div>;
-      },
-    },
-    {
-      accessorKey: "RegisterKindENM",
-      header: t("detailDrawing.columns.registerKind"),
-      minSize: 180,
-      cell: ({ row }) => {
-        return <div>{row.getValue("RegisterKindENM")}</div>;
+
+        const drawingMoveGbn = row.getValue("DrawingMoveGbn");
+        let type = "";
+
+        if (drawingMoveGbn == "도면입수") {
+          type = "GTT -> SHI";
+        } else if (drawingMoveGbn == "도면제출") {
+          type = "SHI -> GTT";
+        } else {
+          type = drawingMoveGbn;
+        }
+
+        return <div>{type}</div>;
       },
-    },
+    }
   ];
 
   // Document Type에 따른 날짜 컬럼
-- 
cgit v1.2.3

