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:
@@ -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("}");
|
||||
|
||||
Reference in New Issue
Block a user