提交 325935cf authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 e9303788
......@@ -47,7 +47,7 @@ public class ExaminationWordController {
public CallBack<ExaminationVo> downWrd(String oid,HttpServletResponse response) {
Examination content = examinationService.selectByPrimaryKey(oid);
if(!content.getStatus().equals(2)) {
throw new BaseException(0,"请选择审核通过的问卷!");
throw new BaseException(1,"请选择审核通过的问卷!");
}
QueryExaminationQuestionForm form = new QueryExaminationQuestionForm();
form.setExaminationId(oid);
......@@ -108,7 +108,7 @@ public class ExaminationWordController {
} catch (IOException e) {
e.printStackTrace();
throw new BaseException("导出失败!");
throw new BaseException(1,"导出失败!");
}
return CallBack.success();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论