Browse Source

3.4.5 update-20250519 bug修复

xiaofei 1 month ago
parent
commit
562442bf4a
1 changed files with 1 additions and 1 deletions
  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>