提交 b5aed4e7 authored 作者: jiashixiong's avatar jiashixiong

前台公共资源接口添加查询专家

上级 3740923f
......@@ -38,6 +38,7 @@ public interface FgExamPaperLibraryMapper extends BaseMapper<ExamPaperLibrary> {
+ " eq(diy.code,form.typeCode)"
+ " in(diy.code,form.typeCodeList)"
+ " like(rel.name,form.name)"
+ " ORDER BY rel.createtime desc"
+ " </script>")
List<FgSelectExamPaperVo> selectExamPaper(@Param("form") FgSelectExamPaperForm form);
......
......@@ -364,7 +364,7 @@ public class FgExamPaperLibraryServiceImpl extends BaseServiceImpl<ExamPaperLibr
}
}
List<ExamRecordInfo> examRecordInfo = saveOrUpdateExamRecord(examRecordForm);
return examRecordInfo;
return examRecordInfo.stream().sorted(Comparator.comparing(ExamRecordInfo::getQuestionType)).collect(toList());
}
@Override
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论