|
|
@@ -112,7 +112,7 @@ class CinemaSchedRepository extends BaseRepository
|
|
112
|
112
|
public function getCinemaFilmSched($page, $limit, $cinema_sign, $film_sign, $show_date)
|
|
113
|
113
|
{
|
|
114
|
114
|
$field = 'relation_id,sched_sign,film_sign,film_name,show_date,show_time,cinema_sign,cinema_name,hall_sign,hall_name,price';
|
|
115
|
|
- $where = ['cinema_sign' => $cinema_sign, 'film_sign' => $film_sign, 'show_date' => strtotime($show_date)];
|
|
|
115
|
+ $where = ['cinema_sign' => $cinema_sign, 'film_sign' => $film_sign, 'show_date' => $show_date];
|
|
116
|
116
|
|
|
117
|
117
|
$cinema_sched = $this->dao->search(null, $where)
|
|
118
|
118
|
->when($page && $limit, function ($query) use ($page, $limit) {
|