|
@@ -230,4 +230,26 @@ public class SplitServiceImpl implements ISplitService {
|
|
|
return VaultsResponse.failed(back.getResult().getComment());
|
|
return VaultsResponse.failed(back.getResult().getComment());
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public VaultsResponse<WithdrawBack> withdrawQuery(String withdrawSeq) {
|
|
|
|
|
+ WithdrawQuery withdraw = new WithdrawQuery();
|
|
|
|
|
+ WithdrawQueryDetail detail = new WithdrawQueryDetail();
|
|
|
|
|
+ detail.setWithdraw_seq(withdrawSeq);
|
|
|
|
|
+ withdraw.setMerchant_withdrawquery_request(detail);
|
|
|
|
|
+ WithdrawBack back = null;
|
|
|
|
|
+ try {
|
|
|
|
|
+ back = (WithdrawBack) YmUtil.resultBack(withdraw,new WithdrawBack());
|
|
|
|
|
+ } catch (IllegalAccessException e) {
|
|
|
|
|
+ e.printStackTrace();
|
|
|
|
|
+ return VaultsResponse.failed(e.getMessage());
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ if(YmUtil.SUCCESS.equals(back.getResult().getId())){
|
|
|
|
|
+ return VaultsResponse.success(back);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ return VaultsResponse.failed(back.getResult().getComment());
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|