From 19e668a56ac6ff319afeb1b2613ee822b7d40585 Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Mon, 23 Mar 2026 08:22:46 +0900 Subject: [PATCH] =?UTF-8?q?fix(tkuser):=20getBalancesByYear=EC=97=90=20su.?= =?UTF-8?q?long=5Fservice=5Fexcluded=20=EC=BB=AC=EB=9F=BC=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Section B 프론트엔드에서 장기근속 제외 체크박스 표시에 필요한 필드 누락 수정. Co-Authored-By: Claude Opus 4.6 (1M context) --- user-management/api/models/vacationModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user-management/api/models/vacationModel.js b/user-management/api/models/vacationModel.js index 53cb05c..c59307f 100644 --- a/user-management/api/models/vacationModel.js +++ b/user-management/api/models/vacationModel.js @@ -82,7 +82,7 @@ async function getBalancesByYear(year) { const db = getPool(); const [rows] = await db.query( `SELECT vb.*, vt.type_code, vt.type_name, vt.deduct_days, vt.priority, - su.name AS user_name, su.hire_date, su.department_id, + su.name AS user_name, su.hire_date, su.department_id, su.long_service_excluded, COALESCE(d.department_name, '미배정') AS department_name FROM sp_vacation_balances vb JOIN vacation_types vt ON vb.vacation_type_id = vt.id