|
@@ -119,6 +119,7 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
public void queryOrderStatus() throws Exception {
|
|
public void queryOrderStatus() throws Exception {
|
|
yqPayQuery(null);
|
|
yqPayQuery(null);
|
|
adaPayQuery(null);
|
|
adaPayQuery(null);
|
|
|
|
+ reConfirmOrder(null, null);
|
|
}
|
|
}
|
|
|
|
|
|
private void yqPayQuery(List<StudentPaymentOrder> payingOrders) throws Exception {
|
|
private void yqPayQuery(List<StudentPaymentOrder> payingOrders) throws Exception {
|
|
@@ -471,6 +472,11 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public List<StudentPaymentOrder> reConfirmOrder(Date startTime, Date endTime) {
|
|
public List<StudentPaymentOrder> reConfirmOrder(Date startTime, Date endTime) {
|
|
|
|
+ if (startTime == null) {
|
|
|
|
+ endTime = new Date();
|
|
|
|
+ startTime = DateUtil.addMinutes(endTime, 20);
|
|
|
|
+ }
|
|
|
|
+
|
|
List<StudentPaymentOrder> orders = studentPaymentOrderDao.getAdaPayOrdersByTime(startTime, endTime);
|
|
List<StudentPaymentOrder> orders = studentPaymentOrderDao.getAdaPayOrdersByTime(startTime, endTime);
|
|
String tips = "";
|
|
String tips = "";
|
|
for (StudentPaymentOrder order : orders) {
|
|
for (StudentPaymentOrder order : orders) {
|
|
@@ -481,7 +487,7 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if(StringUtils.isNotBlank(tips)){
|
|
|
|
|
|
+ if (StringUtils.isNotBlank(tips)) {
|
|
throw new BizException(tips);
|
|
throw new BizException(tips);
|
|
}
|
|
}
|
|
return orders;
|
|
return orders;
|