|
|
@ -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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|