From 2096476ceca660445ff8e2c476154197425d194e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=B8=85?= Date: Thu, 23 Oct 2025 17:04:29 +0800 Subject: [PATCH] =?UTF-8?q?1.BUG=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/hezhi/TbExamNoticeMapper.xml | 6 +++--- ruoyi-ui/src/views/hezhi/examSubject/index.vue | 1 + ruoyi-ui/src/views/hezhi/notice/index.vue | 16 ++++++++++++---- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/hezhi/TbExamNoticeMapper.xml b/ruoyi-system/src/main/resources/mapper/hezhi/TbExamNoticeMapper.xml index c1febe4..4ab6db9 100644 --- a/ruoyi-system/src/main/resources/mapper/hezhi/TbExamNoticeMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/hezhi/TbExamNoticeMapper.xml @@ -185,10 +185,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" -- 动态排序字段:未过期标记为0(排前面),已过期标记为1(排后面) CASE WHEN ten.exam_start_time >= CURDATE() THEN 0 - ELSE 1 END AS isExpired, - ter.exam_registration_id as examRegistrationId + ELSE 1 END AS isExpired +# ter.exam_registration_id as examRegistrationId FROM tb_exam_notice ten - LEFT JOIN tb_exam_registration ter on ten.exam_id = ter.exam_id and ten.batch_index = ter.exam_batch_index +# LEFT JOIN tb_exam_registration ter on ten.exam_id = ter.exam_id and ten.batch_index = ter.exam_batch_index WHERE ten.status = 0 AND ten.del_flag = 0 AND (ten.exam_notice_name LIKE CONCAT('%', #{searchValue}, '%') OR ten.exam_notice_introduce LIKE CONCAT('%', #{searchValue}, '%')) diff --git a/ruoyi-ui/src/views/hezhi/examSubject/index.vue b/ruoyi-ui/src/views/hezhi/examSubject/index.vue index 2040d00..144b9b0 100644 --- a/ruoyi-ui/src/views/hezhi/examSubject/index.vue +++ b/ruoyi-ui/src/views/hezhi/examSubject/index.vue @@ -87,6 +87,7 @@ 模拟考试 +