Browse Source

直播名称搜索

yuhongqi 1 day ago
parent
commit
8aa9e57754
1 changed files with 1 additions and 1 deletions
  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({"<script>" +
             " SELECT * FROM live WHERE is_audit = 1 and is_del = 0 and status in (1,2,4) and live_type in (2,3) " +
             " 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" +
             " order by create_time desc" +
             " </script>"})
             " </script>"})
     List<Live> listToLiveNoEnd(@Param("live") Live live);
     List<Live> listToLiveNoEnd(@Param("live") Live live);