|
|
|
@ -3,6 +3,8 @@ package kr.xit.batch.ens.task.cmm;
|
|
|
|
|
import static egovframework.com.cmm.util.EgovStringUtil.*;
|
|
|
|
|
|
|
|
|
|
import java.util.Arrays;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
|
|
|
|
import org.slf4j.MDC;
|
|
|
|
|
|
|
|
|
@ -83,15 +85,15 @@ public class TaskCmmUtils {
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static ApiConstants.SignguCode[] getSignguCodeList() {
|
|
|
|
|
public static List<ApiConstants.SignguCode> getSignguCodeList() {
|
|
|
|
|
if(ApiConstants.IS_CCN){
|
|
|
|
|
return (ApiConstants.SignguCode[])Arrays.stream(ApiConstants.SignguCode.values())
|
|
|
|
|
return Arrays.stream(ApiConstants.SignguCode.values())
|
|
|
|
|
.filter(d -> d.getCode().equals(ApiConstants.SignguCode.CHUNCHEON.getCode()))
|
|
|
|
|
.toArray();
|
|
|
|
|
.collect(Collectors.toList());
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
return (ApiConstants.SignguCode[])Arrays.stream(ApiConstants.SignguCode.values())
|
|
|
|
|
return Arrays.stream(ApiConstants.SignguCode.values())
|
|
|
|
|
.filter(d -> !d.getCode().equals(ApiConstants.SignguCode.CHUNCHEON.getCode()))
|
|
|
|
|
.toArray();
|
|
|
|
|
.collect(Collectors.toList());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|