From 2c258c39133435fa0e6e6da85d503982fd5a967d Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 10 一月 2025 15:33:26 +0800
Subject: [PATCH] bug修改

---
 manage/src/main/resources/mapping/TOptometristMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/manage/src/main/resources/mapping/TOptometristMapper.xml b/manage/src/main/resources/mapping/TOptometristMapper.xml
index 3005ab6..fe26927 100644
--- a/manage/src/main/resources/mapping/TOptometristMapper.xml
+++ b/manage/src/main/resources/mapping/TOptometristMapper.xml
@@ -38,7 +38,7 @@
                 and t2.`name` like  concat('%',#{query.name},'%')
             </if>
             <if test="query.userId != null and query.userId != ''">
-                and t2.id like  concat('%',#{query.userId},'%')
+                and t1.userId like  concat('%',#{query.userId},'%')
             </if>
             <if test="query.realName != null and query.realName != ''">
                 and t1.realName like  concat('%',#{query.realName},'%')

--
Gitblit v1.7.1