소스 검색

直播间定时刷新数据修改

yuhongqi 6 일 전
부모
커밋
5c6873683a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      fs-service-system/src/main/resources/mapper/live/LiveDataMapper.xml

+ 1 - 1
fs-service-system/src/main/resources/mapper/live/LiveDataMapper.xml

@@ -50,7 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                A.peak_concurrent_viewers,A.unique_viewers,A.unique_visitors,A.total_views
         FROM live_data A
                  inner join live B on A.live_id = B.live_id
-        where B.status = '2'
+        where B.status in (1,2,4) and b.is_audit = 1 and b.is_show = 1 and is_del=0
     </select>
     <select id="getRecentLive" resultType="com.fs.live.vo.RecentLiveDataVo">
         SELECT A.page_views AS pageViews,A.unique_visitors AS uniqueVisitors, B.live_id AS liveId,B.live_name AS liveName,B.`status` AS status,B.live_img_url AS liveImgUrl,B.start_time AS startTime