fix(tkuser): getBalancesByYear에 su.long_service_excluded 컬럼 추가
Section B 프론트엔드에서 장기근속 제외 체크박스 표시에 필요한 필드 누락 수정. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -82,7 +82,7 @@ async function getBalancesByYear(year) {
|
|||||||
const db = getPool();
|
const db = getPool();
|
||||||
const [rows] = await db.query(
|
const [rows] = await db.query(
|
||||||
`SELECT vb.*, vt.type_code, vt.type_name, vt.deduct_days, vt.priority,
|
`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
|
COALESCE(d.department_name, '미배정') AS department_name
|
||||||
FROM sp_vacation_balances vb
|
FROM sp_vacation_balances vb
|
||||||
JOIN vacation_types vt ON vb.vacation_type_id = vt.id
|
JOIN vacation_types vt ON vb.vacation_type_id = vt.id
|
||||||
|
|||||||
Reference in New Issue
Block a user