diff --git a/webapp/controller/AnncController.class.php b/webapp/controller/AnncController.class.php index d91df85d..26350365 100644 --- a/webapp/controller/AnncController.class.php +++ b/webapp/controller/AnncController.class.php @@ -8,11 +8,11 @@ class AnncController extends BaseController { // myself()->_rspData(require('../config/annc.php')); $data = array(); $row = myself()->_getConfDbMysql()->execQueryOne( - 'SELECT * FROM t_game_annc WHERE begin_time < :star_time AND end_time > :end_time AND is_open = :open_state', + 'SELECT * FROM t_game_annc WHERE begin_date < :begin_date AND end_date > :end_date AND is_open = :is_open', array( - ':star_time' => myself()->_getNowTime(), - ':end_time' => myself()->_getNowTime(), - ':open_state' => 1, + ':begin_date' => myself()->_getNowTime(), + ':end_date' => myself()->_getNowTime(), + ':is_open' => 1, ) ); if ($row){