浏览代码

3.4.5 update-20250519 bug修复

xiaofei 1 月之前
父节点
当前提交
562442bf4a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      teachcloud-common/src/main/resources/mapper/SysUserRoleMapper.xml

+ 1 - 1
teachcloud-common/src/main/resources/mapper/SysUserRoleMapper.xml

@@ -103,7 +103,7 @@
                 and sur.role_id = #{roleId}
             </if>
             <if test="name != null and name != ''">
-                and su.real_name = concat('%', #{name}, '%')
+                and su.real_name like concat('%', #{name}, '%')
             </if>
         </where>
     </select>