|
|
@ -374,7 +374,7 @@ class PassFlow |
|
|
|
|
|
|
|
|
$museumWhere = ' "groupId"='."'510'".' and "granularity" = ' . "'{$granularity}'" . ' and "date" = ' . "'{$date}'"; |
|
|
$museumWhere = ' "groupId"='."'510'".' and "granularity" = ' . "'{$granularity}'" . ' and "date" = ' . "'{$date}'"; |
|
|
$museumWhere .= ' and "statTime" >= ' . "'{$dateData[$date]['start_time']}'" . ' and "statTime" <= ' . "'{$dateData[$date]['end_time']}'"; |
|
|
$museumWhere .= ' and "statTime" >= ' . "'{$dateData[$date]['start_time']}'" . ' and "statTime" <= ' . "'{$dateData[$date]['end_time']}'"; |
|
|
$museumRes = $dm->find('bt_passenger_flow_all',$museumWhere,' SUM("noRepeatInNum") as num'); |
|
|
$museumRes = $dm->find('bt_passenger_flow_all',$museumWhere,' SUM("noRepeatInNum") as NUM'); |
|
|
$museumData[$date] = $museumRes['NUM'] ?: 0; |
|
|
$museumData[$date] = $museumRes['NUM'] ?: 0; |
|
|
} |
|
|
} |
|
|
$museum_today_incount = isset($museumData['day']) ? $museumData['day'] : 0; |
|
|
$museum_today_incount = isset($museumData['day']) ? $museumData['day'] : 0; |
|
|
|