diff --git a/mens-api/src/main/java/kr/xit/biz/nice/service/BizNiceCiService.java b/mens-api/src/main/java/kr/xit/biz/nice/service/BizNiceCiService.java index bf26db1..fe8038f 100644 --- a/mens-api/src/main/java/kr/xit/biz/nice/service/BizNiceCiService.java +++ b/mens-api/src/main/java/kr/xit/biz/nice/service/BizNiceCiService.java @@ -277,7 +277,7 @@ public class BizNiceCiService extends EgovAbstractServiceImpl implements IBizNic return symResDTO; }else{ - throw BizRuntimeException.create(JsonUtils.toJson(dataHeader)); + throw BizRuntimeException.create(JsonUtils.toJson(symResDTO)); } } //-------------------------------------------------------------------------------- diff --git a/mens-api/src/main/java/kr/xit/ens/nice/cmm/CmmNiceCiUtils.java b/mens-api/src/main/java/kr/xit/ens/nice/cmm/CmmNiceCiUtils.java index dde49e8..5b6b0e5 100644 --- a/mens-api/src/main/java/kr/xit/ens/nice/cmm/CmmNiceCiUtils.java +++ b/mens-api/src/main/java/kr/xit/ens/nice/cmm/CmmNiceCiUtils.java @@ -156,7 +156,6 @@ public class CmmNiceCiUtils { */ public static 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(!resHeader.getGwRsltCd().equals("1200")) return t; return t; } }