刘俊驰 5 月之前
父节点
当前提交
5c58161ccc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cooleshow-user/user-biz/src/main/resources/config/mybatis/StudentMapper.xml

+ 1 - 1
cooleshow-user/user-biz/src/main/resources/config/mybatis/StudentMapper.xml

@@ -137,7 +137,7 @@
             <if test="param.entitlementsList != null and param.entitlementsList.size() > 0">
                 and
                 <foreach collection="param.entitlementsList" item="item" separator=" and " open="(" close=")">
-                    t.entitlements_ like concat('%',#{item},'%')
+                    find_in_set(#{item},t.entitlements_)
                 </foreach>
 
             </if>