|
@@ -246,6 +246,12 @@ public class DegreeRegistrationServiceImpl extends BaseServiceImpl<Integer, Degr
|
|
|
@Override
|
|
|
public Boolean updateStatus(StudentPaymentOrder studentPaymentOrder) {
|
|
|
DegreeRegistration degree = degreeRegistrationDao.getLock(studentPaymentOrder.getUserId());
|
|
|
+
|
|
|
+ int updateCount = studentPaymentOrderService.update(studentPaymentOrder);
|
|
|
+ if (updateCount <= 0) {
|
|
|
+ throw new BizException("订单更新失败");
|
|
|
+ }
|
|
|
+
|
|
|
if (degree == null || degree.getStatus().equals(2)) {
|
|
|
return true;
|
|
|
}
|