feat: KT, Nice API 반영

dev
gitea-관리자 1 year ago
parent 0b194d28e9
commit 499473cc31

@ -277,7 +277,7 @@ public class BizNiceCiService extends EgovAbstractServiceImpl implements IBizNic
return symResDTO; return symResDTO;
}else{ }else{
throw BizRuntimeException.create(JsonUtils.toJson(dataHeader)); throw BizRuntimeException.create(JsonUtils.toJson(symResDTO));
} }
} }
//-------------------------------------------------------------------------------- //--------------------------------------------------------------------------------

@ -156,7 +156,6 @@ public class CmmNiceCiUtils {
*/ */
public static <T> T checkTranIdAndReturn(final String tranId, final ResponseDataHeader resHeader, T t){ public static <T> T checkTranIdAndReturn(final String tranId, final ResponseDataHeader resHeader, T t){
if(!tranId.equals(resHeader.getTranId())) throw BizRuntimeException.create(messageSource.getMessage("fail.api.nice.invalid.tranId")); if(!tranId.equals(resHeader.getTranId())) throw BizRuntimeException.create(messageSource.getMessage("fail.api.nice.invalid.tranId"));
if(!resHeader.getGwRsltCd().equals("1200")) return t;
return t; return t;
} }
} }

Loading…
Cancel
Save