Browse Source

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

zouxuan 1 year ago
parent
commit
46732e4931

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

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