Browse Source

Merge branch 'feature/1219_opt' into test

刘俊驰 6 tháng trước cách đây
mục cha
commit
c84dd252a3

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