|
|
|
@ -496,7 +496,7 @@ public class BizSisulService extends AbstractService implements IBizSisulService
|
|
|
|
|
|
|
|
|
|
// KAKAO or KT-BC의 경우에만 주민번호 필요
|
|
|
|
|
if(Pattern.matches("([\\w]{4}[1-2])", d.getTmplatId())){
|
|
|
|
|
if(Checks.isEmpty(d.getRecveJuminno()) || d.getRecveJuminno().length() != 13){
|
|
|
|
|
if(Checks.isEmpty(d.getRecveJuminno()) || d.getRecveJuminno().length() != 13 || !Pattern.matches("^[\\d]{2}(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])([1-8])[\\d]{6}$", Checks.checkVal(d.getRecveJuminno(),""))){
|
|
|
|
|
throw BizRuntimeException.create("fail.api.excel.upload.data", new String[]{
|
|
|
|
|
String.valueOf(idx.get()), "recveJuminno(수취인주민번호)", "필수(13자리)", d.getRecveJuminno()});
|
|
|
|
|
}
|
|
|
|
|