파일 컴포넌트 분리

This commit is contained in:
kjs
2025-09-05 21:52:19 +09:00
parent e0fd624078
commit d73be8a4d3
21 changed files with 1999 additions and 556 deletions

View File

@@ -185,6 +185,19 @@ export class AuthService {
},
});
// DB에서 조회한 원본 사용자 정보 상세 로그
console.log("🔍 AuthService - DB 원본 사용자 정보:", {
userId: userInfo.user_id,
company_code: userInfo.company_code,
company_code_type: typeof userInfo.company_code,
company_code_is_null: userInfo.company_code === null,
company_code_is_undefined: userInfo.company_code === undefined,
company_code_is_empty: userInfo.company_code === "",
dept_code: userInfo.dept_code,
allUserFields: Object.keys(userInfo),
companyInfo: companyInfo?.company_name,
});
// PersonBean 형태로 변환 (null 값을 undefined로 변환)
const personBean: PersonBean = {
userId: userInfo.user_id,
@@ -209,6 +222,12 @@ export class AuthService {
locale: userInfo.locale || "KR",
};
console.log("📦 AuthService - 최종 PersonBean:", {
userId: personBean.userId,
companyCode: personBean.companyCode,
deptCode: personBean.deptCode,
});
logger.info(`사용자 정보 조회 완료: ${userId}`);
return personBean;
} catch (error) {