Ver Fonte

易车 数据源 sql更改

zhaoxian há 2 anos atrás
pai
commit
7a8c4068ed

+ 3 - 3
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/report/mapper/xml/KuaiShouYiCheReportMapper.xml

@@ -4,7 +4,7 @@
 
     <select id="getMaxHourByProjectIdAndStatDate" resultType="java.lang.Integer">
     SELECT
-	max(t2.stat_hour)
+	max(t2.hour)
     FROM
 	ctop_user_allocation t1
     LEFT JOIN application.kuaishou_account_report_hourly_dw t2 ON t1.account_id = t2.account_id
@@ -58,7 +58,7 @@
         </if>
 
         <if test="statHour != null">
-            and t2.stat_hour &lt;= #{statHour}
+            and t2.hour &lt;= #{statHour}
         </if>
         <if test="systemType != null">
             and t1.system_type = #{systemType}
@@ -112,7 +112,7 @@
         </if>
 
         <if test="statHour != null">
-            and t2.stat_hour &lt;= #{statHour}
+            and t2.hour &lt;= #{statHour}
         </if>
         <if test="systemType != null">
             and t1.system_type = #{systemType}