From c858ae26143fde37b8c77d403baeb7a050bc2ab6 Mon Sep 17 00:00:00 2001
From: zf <1603559716@qq.com>
Date: 星期一, 25 九月 2023 15:17:42 +0800
Subject: [PATCH] 非煤相关接口

---
 exam-system/src/main/resources/mapper/noncoalmine/ExamSiteMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/exam-system/src/main/resources/mapper/noncoalmine/ExamSiteMapper.xml b/exam-system/src/main/resources/mapper/noncoalmine/ExamSiteMapper.xml
index 539a629..840abd6 100644
--- a/exam-system/src/main/resources/mapper/noncoalmine/ExamSiteMapper.xml
+++ b/exam-system/src/main/resources/mapper/noncoalmine/ExamSiteMapper.xml
@@ -12,13 +12,13 @@
         LEFT JOIN sys_district d ON d.id = s.district_id
         WHERE
         s.del_flag = 0
-        <if test="query.siteName != null and query.siteName = ''">
+        <if test="query.siteName != null and query.siteName != ''">
             and s.site_name like concat('%', #{query.siteName}, '%')
         </if>
-        <if test="query.districtCode != null and query.districtCode = ''">
+        <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 query.isCm != ''">
             AND s.is_cm = #{query.isCm}
         </if>
         order by s.create_time desc

--
Gitblit v1.9.2