From 87630e05daa721f9f742787db0d7b9749d8c2649 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期四, 19 十二月 2024 16:20:46 +0800
Subject: [PATCH] 代码

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

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

--
Gitblit v1.7.1