소스 검색

Merge branch 'feature/1219_opt' into test

刘俊驰 6 달 전
부모
커밋
c84dd252a3
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>