|
@@ -18,6 +18,7 @@ import com.keao.edu.user.enums.StudentRegistrationStatusEnum;
|
|
|
import com.keao.edu.user.enums.TransStatusEnum;
|
|
|
import com.keao.edu.user.page.ExamRegistrationPaymentQueryInfo;
|
|
|
import com.keao.edu.user.page.ExamRegistrationQueryInfo;
|
|
|
+import com.keao.edu.user.service.ExamOrganizationRelationService;
|
|
|
import com.keao.edu.user.service.ExamRegistrationPaymentService;
|
|
|
import com.keao.edu.user.service.ExamRegistrationService;
|
|
|
import com.keao.edu.user.service.OrganizationService;
|
|
@@ -40,6 +41,8 @@ public class ExamRegistrationPaymentServiceImpl extends BaseServiceImpl<Long, Ex
|
|
|
private YqPayFeignService yqPayFeignService;
|
|
|
@Autowired
|
|
|
private OrganizationService organizationService;
|
|
|
+ @Autowired
|
|
|
+ private ExamOrganizationRelationService examOrganizationRelationService;
|
|
|
|
|
|
@Override
|
|
|
public BaseDAO<Long, ExamRegistrationPayment> getDAO() {
|
|
@@ -95,6 +98,11 @@ public class ExamRegistrationPaymentServiceImpl extends BaseServiceImpl<Long, Ex
|
|
|
if (examRegistrationService.update(examRegistration) <= 0) {
|
|
|
throw new BizException("报名状态更新失败");
|
|
|
}
|
|
|
+// //更新报名人数,和报名金额
|
|
|
+// examOrganizationRelationService.queryUnRelatedOrgans()
|
|
|
+// if(examOrganizationRelationService.update() <= 0){
|
|
|
+//
|
|
|
+// }
|
|
|
return order;
|
|
|
}
|
|
|
|