|
@@ -69,9 +69,12 @@ public class MarkWorkPaperCreateTask extends AbstractTask {
|
|
createMarkItems(Long.parseLong(bean.getExamId()), bean.getId());
|
|
createMarkItems(Long.parseLong(bean.getExamId()), bean.getId());
|
|
createStudentPapers(Long.parseLong(bean.getExamId()), bean.getId());
|
|
createStudentPapers(Long.parseLong(bean.getExamId()), bean.getId());
|
|
wbean.setStatus(1);
|
|
wbean.setStatus(1);
|
|
|
|
+ } catch (StatusException e) {
|
|
|
|
+ wbean.setStatus(2);
|
|
|
|
+ throw e;
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
wbean.setStatus(2);
|
|
wbean.setStatus(2);
|
|
- throw new StatusException("100001", "评卷工作试卷生成出错", e);
|
|
|
|
|
|
+ throw new StatusException("100001", "评卷工作试卷生成出错 " + e.getMessage(), e);
|
|
} finally {
|
|
} finally {
|
|
markWorkCloudService.updateMarkWork(req);
|
|
markWorkCloudService.updateMarkWork(req);
|
|
}
|
|
}
|