|
|
|
@ -3,11 +3,7 @@ package kr.xit.batch.ens.scheduler;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
import kr.xit.batch.ens.job.SndngStatusBulksJobConfig;
|
|
|
|
|
import kr.xit.biz.common.ApiConstants;
|
|
|
|
|
import kr.xit.biz.common.ApiConstants.SignguCode;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
|
|
|
|
import org.springframework.batch.core.JobParameter;
|
|
|
|
|
import org.springframework.batch.core.JobParameters;
|
|
|
|
|
import org.springframework.batch.core.JobParametersInvalidException;
|
|
|
|
@ -18,6 +14,13 @@ import org.springframework.beans.factory.annotation.Value;
|
|
|
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
|
|
import kr.xit.batch.ens.job.SndngStatusBulksJobConfig;
|
|
|
|
|
import kr.xit.batch.ens.task.cmm.TaskCmmUtils;
|
|
|
|
|
import kr.xit.biz.common.ApiConstants;
|
|
|
|
|
import kr.xit.biz.common.ApiConstants.SignguCode;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <pre>
|
|
|
|
|
* description : 연계 발송 - 상태조회
|
|
|
|
@ -54,7 +57,7 @@ public class SndngStatusBulksJobScheduler {
|
|
|
|
|
confMap.put("sndngProcessSttus", new JobParameter(ApiConstants.SndngProcessStatus.SEND_OK.getCode()));
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
for(SignguCode signguCode : SignguCode.values()) {
|
|
|
|
|
for(SignguCode signguCode : TaskCmmUtils.getSignguCodeList()) {
|
|
|
|
|
confMap.put("signguCode", new JobParameter(signguCode.getCode()));
|
|
|
|
|
confMap.put("ffnlgCode", new JobParameter(ApiConstants.FFNLN_CODE));
|
|
|
|
|
JobParameters jobParameters = new JobParameters(confMap);
|
|
|
|
|