From 1614615fc9319b8626eb028598b894311992c033 Mon Sep 17 00:00:00 2001
From: huangzhen <867217663@qq.com>
Date: 星期一, 25 九月 2023 15:19:10 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

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

diff --git a/exam-system/src/main/resources/mapper/noncoalmine/ViolationRegistrationMapper.xml b/exam-system/src/main/resources/mapper/noncoalmine/ViolationRegistrationMapper.xml
index f4eb62c..b9020a9 100644
--- a/exam-system/src/main/resources/mapper/noncoalmine/ViolationRegistrationMapper.xml
+++ b/exam-system/src/main/resources/mapper/noncoalmine/ViolationRegistrationMapper.xml
@@ -23,13 +23,13 @@
         update_time
         from violation_registration
         where del_flag = 0
-        <if test="query.dept != null and query.dept = ''">
+        <if test="query.dept != null and query.dept != ''">
             and dept like concat('%', #{query.dept}, '%')
         </if>
-        <if test="query.name != null and query.name = ''">
+        <if test="query.name != null and query.name != ''">
             and name like concat('%', #{query.name}, '%')
         </if>
-        <if test="query.idCard != null and query.idCard = ''">
+        <if test="query.idCard != null and query.idCard != ''">
             and id_card like concat('%', #{query.idCard}, '%')
         </if>
         <if test="query.operateTypeId != null and query.operateTypeId != 0">

--
Gitblit v1.9.2