yumeng 4 년 전
부모
커밋
83436d6e10
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/report/mapper/xml/KsVideoReportMapper.xml

+ 1 - 1
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/report/mapper/xml/KsVideoReportMapper.xml

@@ -32,7 +32,6 @@
             AND t1.stat_date <= #{endDate}
         </if>
         GROUP BY t1.signature
-        ORDER BY ${target} ${order}
         ) t1
         LEFT JOIN ctop_etl_kuaishou_video_info t2
         ON t1.signature = t2.video_code
@@ -50,6 +49,7 @@
         <if test="shotId !=null and shotId != ''">
             AND t2.shot_id = #{shotId}
         </if>
+        ORDER BY ${target} ${order}
     </select>