From afb66453a1b81b656ebbbaf90949d733517513d6 Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Wed, 3 Jul 2024 14:37:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=8E=BB=E8=80=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/elExam/onlineExam/onlineExam.html | 93 +++++++++++++++++++ .../resources/mapper/system/ElExamMapper.xml | 2 +- 2 files changed, 94 insertions(+), 1 deletion(-) create mode 100644 ruoyi-admin/src/main/resources/templates/system/elExam/onlineExam/onlineExam.html diff --git a/ruoyi-admin/src/main/resources/templates/system/elExam/onlineExam/onlineExam.html b/ruoyi-admin/src/main/resources/templates/system/elExam/onlineExam/onlineExam.html new file mode 100644 index 0000000..73d58e8 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/elExam/onlineExam/onlineExam.html @@ -0,0 +1,93 @@ + + + + + + +
+
+
+
+
+
    +
  • + 考试类型: +
  • +
  • + 考试名称: +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+
+ +
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/ElExamMapper.xml b/ruoyi-system/src/main/resources/mapper/system/ElExamMapper.xml index 96d67a8..e52dcf3 100644 --- a/ruoyi-system/src/main/resources/mapper/system/ElExamMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/ElExamMapper.xml @@ -51,7 +51,7 @@ SELECT ex.* FROM el_exam ex LEFT JOIN el_exam_depart dept ON ex.id=dept.exam_id AND ex.open_type=2 - LEFT JOIN sys_user uc ON uc.dept_id=dept.depart_id + LEFT JOIN ${prefix}sys_user uc ON uc.dept_id=dept.depart_id WHERE ex.state=0 AND (ex.open_type=1 OR ex.open_type=3 OR uc.user_id=#{userId}) AND ex.title LIKE CONCAT('%',#{title},'%')