浏览代码

update role

xuzuoyun 3 年之前
父节点
当前提交
0930526bf4

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

@@ -511,7 +511,7 @@
         where t1.stat_date >= #{startTime}
         AND t1.stat_date <= #{endTime}
         and
-        t3.user_id=#{userId}
+        t3.responsible_id=#{userId}
         GROUP BY t3.id
         HAVING SUM(charge)>0
         <if test="sortCode != '' and sortCode != null ">
@@ -531,7 +531,7 @@
                  where t1.stat_date &gt;= #{startTime}
                    AND t1.stat_date &lt;= #{endTime}
                     and
-                    t3.user_id=#{userId}
+                    t3.responsible_id=#{userId}
                  GROUP BY t3.id
                  HAVING SUM(charge) > 0
              ) t

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

@@ -590,7 +590,7 @@
         where
         stat_date = #{startTime}
         and
-        t3.user_id=#{userId}
+        t3.responsible_id=#{userId}
         GROUP BY t3.id
         HAVING SUM(charge)>0
         <if test="sortCode != '' and sortCode != null ">
@@ -610,7 +610,7 @@
         INNER JOIN ctop_project t3 ON t2.project_id = t3.id
         where stat_date = #{startTime}
         and
-        t3.user_id=#{userId}
+        t3.responsible_id=#{userId}
         GROUP BY t3.id
         HAVING SUM(charge)>0
         )t