From 5eb29a5eab52a99c22e8fee4c4df34ddb55b044c Mon Sep 17 00:00:00 2001 From: kongzy <kongzy> Date: 星期三, 16 十月 2024 13:57:01 +0800 Subject: [PATCH] 增加题库搜索 --- exam-system/src/main/resources/mapper/noncoalmine/ExamSiteMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/exam-system/src/main/resources/mapper/noncoalmine/ExamSiteMapper.xml b/exam-system/src/main/resources/mapper/noncoalmine/ExamSiteMapper.xml index 840abd6..cdc70d4 100644 --- a/exam-system/src/main/resources/mapper/noncoalmine/ExamSiteMapper.xml +++ b/exam-system/src/main/resources/mapper/noncoalmine/ExamSiteMapper.xml @@ -18,7 +18,7 @@ <if test="query.districtCode != null and query.districtCode != ''"> AND d.`code` LIKE concat(#{query.districtCode}, '%') </if> - <if test="query.isCm != null and query.isCm != ''"> + <if test="query.isCm != null"> AND s.is_cm = #{query.isCm} </if> order by s.create_time desc -- Gitblit v1.9.2