|
@@ -142,6 +142,7 @@ public class TaskLogicServiceImpl implements TaskLogicService {
|
|
|
}
|
|
|
|
|
|
BasicSchool basicSchool = cacheService.schoolCache(examPrintPlan.getSchoolId());
|
|
|
+ schoolId = Objects.isNull(schoolId) ? basicSchool.getId() : schoolId;
|
|
|
BasicExamRule basicExamRule = basicExamRuleService.getBySchoolId(schoolId);
|
|
|
if (Objects.isNull(basicExamRule)) {
|
|
|
throw ExceptionResultEnum.ERROR.exception("考务规则为空");
|