|
@@ -59,7 +59,7 @@ public class TenantOrderRecordServiceImpl extends ServiceImpl<TenantOrderRecordD
|
|
|
TenantOrderRecord orderRecord = this.getOne(new WrapperUtil<TenantOrderRecord>()
|
|
|
.hasEq("order_no_", orderNo).queryWrapper());
|
|
|
if (StringUtils.equals(orderRecord.getPaymentChannel(), PaymentChannelEnum.ADAPAY.getCode())) {
|
|
|
- Map<String, Object> payment = null;
|
|
|
+ Map<String, Object> payment;
|
|
|
try {
|
|
|
payment = Payment.queryPayment(orderRecord.getTransNo());
|
|
|
if (Objects.nonNull(payment.get("status"))) {
|
|
@@ -91,6 +91,7 @@ public class TenantOrderRecordServiceImpl extends ServiceImpl<TenantOrderRecordD
|
|
|
|
|
|
log.info("checkTenantOrder getOrderState>>>>> {}", JSON.toJSONString(orderRecord));
|
|
|
getOrderState(orderRecord, result);
|
|
|
+ log.info("checkTenantOrder result >>>>> {}", result);
|
|
|
return result;
|
|
|
}
|
|
|
|