소스 검색

有效视频、素材列表

sunzhen 5 년 전
부모
커밋
47363d3f50
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      module-report/src/main/java/cn/com/ctop/bytedance/mapper/xml/BytedanceCreativeDailyReportMapper.xml

+ 1 - 5
module-report/src/main/java/cn/com/ctop/bytedance/mapper/xml/BytedanceCreativeDailyReportMapper.xml

@@ -74,10 +74,6 @@
                  open="(" separator="," close=")">
             #{item}
         </foreach>
-        and
-        <if test="userId != null">
-            and t1.user_id = #{userId,jdbcType=VARCHAR}
-        </if>
         and t1.media_id = '1'
         and t1.account_id != ''
         <if test="startDate != null">
@@ -86,7 +82,7 @@
         <if test="endDate != null">
             and t2.stat_datetime &gt;= #{endDate} and
         </if>
-        1=1
+        t3.id is not NULL
         group by t4.signature
         order by sum(t2.cost) desc
         limit 100