diff --git a/backend/src/main/java/io/dataease/base/mapper/ext/ExtDataSourceMapper.xml b/backend/src/main/java/io/dataease/base/mapper/ext/ExtDataSourceMapper.xml index 2aa2a6c9ee..4178d702c5 100644 --- a/backend/src/main/java/io/dataease/base/mapper/ext/ExtDataSourceMapper.xml +++ b/backend/src/main/java/io/dataease/base/mapper/ext/ExtDataSourceMapper.xml @@ -27,12 +27,12 @@ select id , name , `desc` ,`type` , configuration ,create_time ,update_time from (select GET_V_AUTH_MODEL_ID_P_USE (#{userId}, 'link') cids) t,datasource - FIND_IN_SET(datasource.id,cids)) + FIND_IN_SET(datasource.id,cids) id = #{id,jdbcType=VARCHAR} - `name` = concat('%',#{name,jdbcType=VARCHAR},'%') + `name` like concat('%',#{name,jdbcType=VARCHAR},'%') `desc` = #{desc,jdbcType=VARCHAR}