|
@@ -253,7 +253,9 @@ public class CloudTeacherOrderServiceImpl extends BaseServiceImpl<Long, CloudTea
|
|
|
|
|
|
private void paySuccess(TenantOrderRecord record) throws Exception {
|
|
|
log.info("tenant orderNotify update order status start" + record.getId().toString());
|
|
|
-
|
|
|
+ if (record.getId() == null) {
|
|
|
+ throw new Exception("订单未找到");
|
|
|
+ }
|
|
|
if (cloudTeacherOrderDao.updateOrderStatusOK(record.getId()) <= 0) {
|
|
|
throw new Exception("更新订单状态失败");
|
|
|
}
|