ERP 사원 동기화 시 이메일/전화번호 누락 수정

- EmployeeApiClient: API 요청에 extraColumns 추가 (emalAdd, outemalAdd, emgcTel, tel, joinDt)
- BatchService: 급여이메일(emalAdd) 우선, 없으면 외부이메일(outemalAdd) fallback 처리, tel 매핑 추가
- batch.xml: upsertEmployee에 user_id, tel 컬럼 추가, ON CONFLICT (sabun) 기준 upsert

Made-with: Cursor
This commit is contained in:
2026-03-09 16:36:25 +09:00
parent 2ae5591d57
commit 1fd0e035c2
3 changed files with 20 additions and 12 deletions

View File

@@ -206,9 +206,10 @@ public class EmployeeApiClient {
json.append(",\"pId\":\"\"");
json.append("}");
// body 섹션
// body 섹션 - extraColumns로 이메일/전화번호 등 추가 필드 요청
json.append(",\"body\":{");
json.append("\"coCd\":\"").append(escapeJson(coCd)).append("\"");
json.append(",\"extraColumns\":[\"emalAdd\",\"outemalAdd\",\"emgcTel\",\"tel\",\"joinDt\"]");
json.append("}");
json.append("}");