From 9318f2446a94ce7df308c57c1c651e0c23e0036b Mon Sep 17 00:00:00 2001
From: heheng <heheng@123456>
Date: 星期四, 20 二月 2025 08:49:23 +0800
Subject: [PATCH] 测试

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

diff --git a/exam-system/src/main/resources/mapper/noncoalmine/NcStaffMapper.xml b/exam-system/src/main/resources/mapper/noncoalmine/NcStaffMapper.xml
index d1b0468..054df32 100644
--- a/exam-system/src/main/resources/mapper/noncoalmine/NcStaffMapper.xml
+++ b/exam-system/src/main/resources/mapper/noncoalmine/NcStaffMapper.xml
@@ -14,7 +14,7 @@
             and name like concat('%', #{query.name}, '%')
         </if>
         <if test="query.idCardNum != null and query.idCardNum != ''">
-            and name = #{query.idCardNum}
+            and id_card_num = #{query.idCardNum}
         </if>
     </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.2