|
@@ -75,7 +75,7 @@ public class SporadicChargeInfoController extends BaseController {
|
|
|
if (sporadicPayDto.getIsRepeatPay() == false) {
|
|
|
List<StudentPaymentOrder> studentPaymentOrderList = studentPaymentOrderDao.findPaymentOrderByGroupType(sporadicPayDto.getUserId(), sporadicPayDto.getSporadicId(), "SPORADIC", DealStatusEnum.ING);
|
|
|
if (studentPaymentOrderList != null && studentPaymentOrderList.size() > 0) {
|
|
|
- StudentPaymentOrder applyOrder = studentPaymentOrderList.get(0);
|
|
|
+ StudentPaymentOrder applyOrder = studentPaymentOrderList.get(studentPaymentOrderList.size() - 1);
|
|
|
// 查询订单状态
|
|
|
PayStatus payStatus = studentPaymentOrderService.queryPayStatus(applyOrder.getPaymentChannel(), applyOrder.getOrderNo(), applyOrder.getTransNo());
|
|
|
if(payStatus == PayStatus.SUCCESSED){
|