From c858ae26143fde37b8c77d403baeb7a050bc2ab6 Mon Sep 17 00:00:00 2001
From: zf <1603559716@qq.com>
Date: Mon, 25 Sep 2023 15:17:42 +0800
Subject: [PATCH] 非煤相关接口
---
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