SQL出错: select *,case when ptime='' or ptime is null then dtime else ptime end as ptime2 from sl_news where type= having ptime2<'2024-12-22 11:07:17' ORDER BY id desc limit 0,5#0 /home/wwwroot/truckview/silephp/databases/CPdo.class.php(142): CPdo->base_query('select *,case w...') #1 /home/wwwroot/truckview/silephp/databases/CPdo.class.php(129): CPdo->setAttribute('select *,case w...', 2, NULL) #2 /home/wwwroot/truckview/silephp/databases/CPdo.class.php(478): CPdo->getValueBySelfCreateSql('select *,case w...') #3 /home/wwwroot/truckview/silephp/core/Model.class.php(952): CPdo->getAll('select *,case w...') #4 /home/wwwroot/truckview/application/front/controllers/newsController.class.php(355): Model->getContentByConditions('sl_news', 'type=', 'id desc', 0, 5) #5 /home/wwwroot/truckview/silephp/core/Framework.class.php(158): newsController->detailAction() #6 /home/wwwroot/truckview/silephp/core/Framework.class.php(14): Framework::dispatch() #7 /home/wwwroot/truckview/public/index.php(16): Framework::run() #8 {main}