|
@@ -65,6 +65,14 @@ public class DegreeRegistrationServiceImpl extends BaseServiceImpl<Integer, Degr
|
|
|
HttpResponseResult result = studentPaymentOrderService.checkRepeatPay(paymentOrders.get(0), degreeRegistration.getIsRepay());
|
|
|
if (result.getCode() != 200) {
|
|
|
return result;
|
|
|
+ }else {
|
|
|
+ //关闭指定订单后,处理考级明细为未支付
|
|
|
+ StudentPaymentOrder order = paymentOrders.get(0);
|
|
|
+ List<DegreeRegistration> degreeRegistrations = degreeRegistrationDao.findByByOrderId(order.getOrderNo());
|
|
|
+ if(!CollectionUtils.isEmpty(degreeRegistrations)){
|
|
|
+ degreeRegistrations.forEach(e->e.setStatus(0));
|
|
|
+ degreeRegistrationDao.batchUpdate(degreeRegistrations);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
degreeRegistration.setActivityTag(ACTIVITY_TAG);
|