瀏覽代碼

直播名称搜索

yuhongqi 22 小時之前
父節點
當前提交
8aa9e57754
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs-service/src/main/java/com/fs/live/mapper/LiveMapper.java

+ 1 - 1
fs-service/src/main/java/com/fs/live/mapper/LiveMapper.java

@@ -211,7 +211,7 @@ public interface LiveMapper
 
     @Select({"<script>" +
             " SELECT * FROM live WHERE is_audit = 1 and is_del = 0 and status in (1,2,4) and live_type in (2,3) " +
-            "  <if test='live.liveName!=null' > and live_name like concat('%',#{param.companyId},'%') </if> " +
+            "  <if test='live.liveName!=null' > and live_name like concat('%',#{live.liveName},'%') </if> " +
             " order by create_time desc" +
             " </script>"})
     List<Live> listToLiveNoEnd(@Param("live") Live live);