瀏覽代碼

酷乐秀曲目来源改为内容平台

zouxuan 1 年之前
父節點
當前提交
46732e4931
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      cooleshow-user/user-biz/src/main/resources/config/mybatis/SubjectMapper.xml

+ 3 - 0
cooleshow-user/user-biz/src/main/resources/config/mybatis/SubjectMapper.xml

@@ -247,6 +247,9 @@
             <if test="parentSubjectId == null">
                 AND t.parent_subject_id_ != 0 AND t.cbs_subject_id_ is not null
             </if>
+            <if test="keyword != null and keyword != ''">
+                AND t.name_ LIKE CONCAT('%',#{keyword},'%')
+            </if>
             <if test="delFlag != null">
                 AND t.del_flag_ = #{delFlag}
             </if>