renyupeng 1 år sedan
förälder
incheckning
25cb7bc1b2
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      Apietl/test/project_material_report.py

+ 1 - 1
Apietl/test/project_material_report.py

@@ -27,7 +27,7 @@ class project_material_report:
 
     def Project_Handler(self):
         sql = """
-        select project_id,project_name from application.kuaishou_account_report_daily_dw  where  stat_date>=20231201 and stat_date<=20231231
+        select project_id,replace(project_name,'/','-') from application.kuaishou_account_report_daily_dw  where  stat_date>=20231201 and stat_date<=20231231
 and charge>0 and project_id is not null
 group by project_id
         """