diff --git a/ruoyi-system/src/main/resources/mapper/hezhi/TbExamNoticeMapper.xml b/ruoyi-system/src/main/resources/mapper/hezhi/TbExamNoticeMapper.xml index c1febe43e84e3c0850513e75f2ec27bef6225c11..4ab6db9923057f3a308da9bc6a18a527ad4f3cb5 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 2040d00dbd8f5460e2f993cb1ae4998f54ea8113..144b9b0d32eef120f83ef1715c56d6945f4176b6 100644 --- a/ruoyi-ui/src/views/hezhi/examSubject/index.vue +++ b/ruoyi-ui/src/views/hezhi/examSubject/index.vue @@ -87,6 +87,7 @@ 模拟考试 +