Эх сурвалжийг харах

3.4.5 update-20250519 bug修复

xiaofei 1 сар өмнө
parent
commit
562442bf4a

+ 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>