From 62ee2492fce04c520733262c45edfe5b2e2a2796 Mon Sep 17 00:00:00 2001 From: wws <18630710203@163.com> Date: Fri, 5 Jan 2024 11:40:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=BA=90=E5=88=86=E9=85=8D?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=9F=A5=E8=AF=A2BUG=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/system/SysDatasourceMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/op-modules/op-system/src/main/resources/mapper/system/SysDatasourceMapper.xml b/op-modules/op-system/src/main/resources/mapper/system/SysDatasourceMapper.xml index e1c22cd1..211da1df 100644 --- a/op-modules/op-system/src/main/resources/mapper/system/SysDatasourceMapper.xml +++ b/op-modules/op-system/src/main/resources/mapper/system/SysDatasourceMapper.xml @@ -66,8 +66,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" left join sys_user_datasource sud on sd.id = sud.datasource_id left join sys_user su on su.user_id = sud.user_id where sud.user_id is not null - - AND su.nick_name like concat('%', #{nickName}, '%') + + AND su.nick_name like concat('%', #{userName}, '%') AND sd.id = #{datasourceId}