PC-202304251453\Administrator hace 5 meses
padre
commit
8a42d2e5a2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/v1/logic/dataReport/AnalyseLogic.php

+ 1 - 1
app/v1/logic/dataReport/AnalyseLogic.php

@@ -85,7 +85,7 @@ class AnalyseLogic extends BaseLogic
         $ym = date('Ym', strtotime($regDate));
         $tableName = 'base_total_hour_' . $ym;
         $whereRaw = $this->getCommonWhereRaw($params);
-        $sql = "SELECT {$field} FROM {$tableName} {$whereRaw}  GROUP BY game_id,thour,tdate";
+        $sql = "SELECT {$field} FROM {$tableName} where {$whereRaw}  GROUP BY game_id,thour,tdate";
 
         $baseData = Db::connect('db_data_report')->query($sql);
         $data = [];