瀏覽代碼

fix:直播课不应查看到陪练课

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

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

@@ -85,6 +85,9 @@
                 or b.name_ like concat('%',#{param.search},'%')
                 )
             </if>
+            <if test="param.type != null and param.type != ''">
+                and b.type_ = #{param.type}
+            </if>
         </where>
     </select>