|
|
@ -49,7 +49,7 @@ public class HltCardRefundService { |
|
|
|
* @param orderRefund |
|
|
|
* @param orderRefund |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public BsOrderRefund refund(BsOrderRefund orderRefund) { |
|
|
|
public boolean refund(BsOrderRefund orderRefund) { |
|
|
|
// 查询系统订单号
|
|
|
|
// 查询系统订单号
|
|
|
|
BsHltCardRecord oldCardRecord = hltCardRecordService.getNewPayOrderNo(orderRefund.getOrderNo()); |
|
|
|
BsHltCardRecord oldCardRecord = hltCardRecordService.getNewPayOrderNo(orderRefund.getOrderNo()); |
|
|
|
if (oldCardRecord == null) { |
|
|
|
if (oldCardRecord == null) { |
|
|
@ -147,6 +147,6 @@ public class HltCardRefundService { |
|
|
|
oldCardRecord.setExceptionContent("未知错误"); |
|
|
|
oldCardRecord.setExceptionContent("未知错误"); |
|
|
|
hltCardRecordService.update(oldCardRecord); |
|
|
|
hltCardRecordService.update(oldCardRecord); |
|
|
|
} |
|
|
|
} |
|
|
|
return orderRefund; |
|
|
|
return !oldCardRecord.getExceptionStatus(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|