|
@@ -308,7 +308,7 @@ public class ExamDetailServiceImpl extends ServiceImpl<ExamDetailMapper, ExamDet
|
|
|
|
|
|
// 印刷计划必须为就绪才可提交印刷
|
|
// 印刷计划必须为就绪才可提交印刷
|
|
ExamPrintPlan examPrintPlan = examPrintPlanService.getById(detail.getPrintPlanId());
|
|
ExamPrintPlan examPrintPlan = examPrintPlanService.getById(detail.getPrintPlanId());
|
|
- if (PrintPlanStatusEnum.READY.equals(examPrintPlan.getStatus())) {
|
|
|
|
|
|
+ if (!PrintPlanStatusEnum.READY.equals(examPrintPlan.getStatus())) {
|
|
throw ExceptionResultEnum.ERROR.exception("印刷计划就绪状态才可提交印刷");
|
|
throw ExceptionResultEnum.ERROR.exception("印刷计划就绪状态才可提交印刷");
|
|
}
|
|
}
|
|
|
|
|