yumeng 1 year ago
parent
commit
fe4e131981

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

@@ -90,7 +90,7 @@
         on t1.user_id = t2.user_id
         on t1.user_id = t2.user_id
         left join ruixuan.sys_role t3
         left join ruixuan.sys_role t3
         on t2.role_id = t3.role_id
         on t2.role_id = t3.role_id
-        where t1.media_id = 2
+        where  1 = 1
         and t3.role_key in ('bdManager', 'bd')
         and t3.role_key in ('bdManager', 'bd')
         and date_format(t1.create_time, '%Y%m%d')  < #{date}
         and date_format(t1.create_time, '%Y%m%d')  < #{date}
         group by t1.promoter_id
         group by t1.promoter_id