|
|
@@ -45,7 +45,7 @@ public class YeePayPlugin implements Payment {
|
|
|
|
|
|
//查询订单状态
|
|
|
BillRecord bill = getOrderDetail(payParam,billRecordService);
|
|
|
- Assert.isNull(bill,"订单查询失败,无此订单信息!");
|
|
|
+ Assert.notNull(bill,"订单查询失败,无此订单信息!");
|
|
|
|
|
|
//封装回调参数
|
|
|
SuccessParams successParams = SuccessParams
|
|
|
@@ -63,7 +63,7 @@ public class YeePayPlugin implements Payment {
|
|
|
CreateCodeDto.builder()
|
|
|
.amount(Double.valueOf(bill.getPayAmount()))
|
|
|
.goodsName(bill.getBillsTitle())
|
|
|
- .orderId(bill.getOrderId())
|
|
|
+ .orderId(bill.getId().toString())
|
|
|
.expiredTime(expireTime)
|
|
|
.build());
|
|
|
}
|
|
|
@@ -77,7 +77,7 @@ public class YeePayPlugin implements Payment {
|
|
|
public R transfer(PayParam payParam) {
|
|
|
//查询订单状态
|
|
|
BillRecord bill = getOrderDetail(payParam,billRecordService);
|
|
|
- Assert.isNull(bill,"订单查询失败,无此订单信息!");
|
|
|
+ Assert.notNull(bill,"订单查询失败,无此订单信息!");
|
|
|
|
|
|
//封装回调参数
|
|
|
SuccessParams successParams = SuccessParams
|