提交 13f7664d authored 作者: jiashixiong's avatar jiashixiong

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

上级 be1e34d2
...@@ -21,11 +21,10 @@ public interface FgExamPaperLibraryMapper extends BaseMapper<ExamPaperLibrary> { ...@@ -21,11 +21,10 @@ public interface FgExamPaperLibraryMapper extends BaseMapper<ExamPaperLibrary> {
@Select("<script>" @Select("<script>"
+ " select rel.id,rel.name,rel.createtime" + " select rel.id,rel.name,rel.createtime"
+ " FROM res_exampaper_library rel " + " FROM res_exampaper_library rel "
+ " LEFT JOIN res_resourc_library_exampaper_diy_type diy ON rel.id = diy.exampaperId"
+ " WHERE 1 = 1 " + " WHERE 1 = 1 "
+ " and rel.examStatus = 1" + " and rel.examStatus = 1"
+ " <if test = '" + NOTBLANK + "(form.exampaperid)'> " + " eq(diy.resourcId,form.resourcId)"
+ " AND rel.id = #{form.exampaperid}"
+ " </if> "
+ " ORDER BY rel.createtime DESC " + " ORDER BY rel.createtime DESC "
+ " </script>") + " </script>")
List<ExamPaperLibrary> queryByPage(@Param("form") FgSelectExamRecordForm form); List<ExamPaperLibrary> queryByPage(@Param("form") FgSelectExamRecordForm form);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论