refactor: worker_id → user_id 전체 마이그레이션 (Phase 1-4)

sso_users.user_id를 단일 식별자로 통합. JWT에서 worker_id 제거,
department_id/is_production 추가. 백엔드 15개 모델, 11개 컨트롤러,
4개 서비스, 7개 라우트, 프론트엔드 32+ JS/11+ HTML 변환.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-03-05 13:13:10 +09:00
parent 2197cdb3d5
commit abd7564e6b
90 changed files with 1790 additions and 925 deletions

View File

@@ -154,10 +154,10 @@ const swaggerDefinition = {
example: 'admin',
description: '접근 권한 레벨'
},
worker_id: {
user_id: {
type: 'integer',
example: 1,
description: '연결된 작업자 ID'
description: '연결된 사용자 ID (sso_users)'
},
is_active: {
type: 'boolean',
@@ -186,10 +186,10 @@ const swaggerDefinition = {
Worker: {
type: 'object',
properties: {
worker_id: {
user_id: {
type: 'integer',
example: 1,
description: '작업자 ID'
description: '사용자 ID (sso_users)'
},
worker_name: {
type: 'string',
@@ -347,10 +347,10 @@ const swaggerDefinition = {
example: '2024-01-01',
description: '작업 날짜'
},
worker_id: {
user_id: {
type: 'integer',
example: 1,
description: '작업자 ID'
description: '사용자 ID (sso_users)'
},
project_id: {
type: 'integer',