|
@@ -85,7 +85,7 @@ class AnalyseLogic extends BaseLogic
|
|
|
$ym = date('Ym', strtotime($regDate));
|
|
$ym = date('Ym', strtotime($regDate));
|
|
|
$tableName = 'base_total_hour_' . $ym;
|
|
$tableName = 'base_total_hour_' . $ym;
|
|
|
$whereRaw = $this->getCommonWhereRaw($params);
|
|
$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);
|
|
$baseData = Db::connect('db_data_report')->query($sql);
|
|
|
$data = [];
|
|
$data = [];
|