빌드 환경 및 의존성 정리
- build.gradle: nexus 저장소 추가, com.diffplug.eclipse.apt 제거, kjb-safedb 주석 처리 - .gitignore: 빌드 산출물 제외 규칙 추가
This commit is contained in:
@@ -8,7 +8,7 @@ import com.eactive.ext.kjb.common.KjbProperty;
|
||||
import com.eactive.ext.kjb.eai.EaiBatchInterface;
|
||||
import com.eactive.ext.kjb.eai.EaiBatchMessage;
|
||||
import com.eactive.ext.kjb.eai.KjbEaiBatchModule;
|
||||
import com.eactive.ext.kjb.safedb.KjbSafedbWrapper;
|
||||
//import com.eactive.ext.kjb.safedb.KjbSafedbWrapper;
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.JsonArray;
|
||||
@@ -230,14 +230,15 @@ public class EmailJob {
|
||||
|
||||
public String generateJSON(boolean isPretty) {
|
||||
validateMessageRequest(messageRequest, true, true);
|
||||
KjbSafedbWrapper safedb = KjbSafedbWrapper.getInstance();
|
||||
// KjbSafedbWrapper safedb = KjbSafedbWrapper.getInstance();
|
||||
|
||||
JsonObject jsonObject = new JsonObject();
|
||||
jsonObject.addProperty("MAKE_DATE", DateTimeFormatter.ofPattern("yyyyMMdd").format(LocalDateTime.now()));
|
||||
jsonObject.addProperty("MAKE_SEQNO", DateTimeFormatter.ofPattern("HHmmssSSS").format(LocalDateTime.now()));
|
||||
jsonObject.addProperty("CAMP_ID", messageRequest.getServiceId()); // 전자금융 고객이메일 발송 업무ID (SERVICE_ID)
|
||||
jsonObject.addProperty("ID", messageRequest.getUmsUid()); // 고객 ID
|
||||
jsonObject.addProperty("EMAIL", safedb.encryptNotRnnoString(messageRequest.getEmail()));
|
||||
// jsonObject.addProperty("EMAIL", safedb.encryptNotRnnoString(messageRequest.getEmail()));
|
||||
jsonObject.addProperty("EMAIL", messageRequest.getEmail());
|
||||
jsonObject.addProperty("NAME", messageRequest.getUsername());
|
||||
jsonObject.addProperty("ENCKEY", ""); // 보안메일용으로 기입 불필요
|
||||
|
||||
|
||||
Reference in New Issue
Block a user