Преглед на файлове

add 增加关闭订单接口

周箭河 преди 5 години
родител
ревизия
284bbbce50
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      edu-user/edu-user-server/src/main/java/com/keao/edu/user/service/impl/ExamRegistrationServiceImpl.java

+ 1 - 1
edu-user/edu-user-server/src/main/java/com/keao/edu/user/service/impl/ExamRegistrationServiceImpl.java

@@ -305,7 +305,7 @@ public class ExamRegistrationServiceImpl extends BaseServiceImpl<Long, ExamRegis
         order.setOrderNo(orderNo);
         examRegistrationPaymentService.insert(order);
 
-        ExaminationBasic examinationBasic = examinationBasicDao.get(order.getExaminationBasicId().longValue());
+        ExaminationBasic examinationBasic = examinationBasicDao.get(order.getExaminationBasicId());
         if (examinationBasic == null || !examinationBasic.getStatus().equals(ExamStatusEnum.APPLYING)) {
             throw new BizException("项目不在报名中,请核对");
         }