فهرست منبع

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>