SQL出错: select id,case when ptime='' or ptime is null then dtime else ptime end as ptime2 from sl_news where type= and find_in_set(5,keywords) having ptime2<'2024-03-28 22:31:57'#0 /home/wwwroot/truckview/silephp/databases/CPdo.class.php(142): CPdo->base_query('select id,case ...') #1 /home/wwwroot/truckview/silephp/databases/CPdo.class.php(129): CPdo->setAttribute('select id,case ...', 2, NULL) #2 /home/wwwroot/truckview/silephp/databases/CPdo.class.php(478): CPdo->getValueBySelfCreateSql('select id,case ...') #3 /home/wwwroot/truckview/silephp/core/Model.class.php(901): CPdo->getAll('select id,case ...') #4 /home/wwwroot/truckview/application/front/controllers/newsController.class.php(177): Model->total2('sl_news', 'type= and find_...') #5 /home/wwwroot/truckview/silephp/core/Framework.class.php(158): newsController->indexAction() #6 /home/wwwroot/truckview/silephp/core/Framework.class.php(14): Framework::dispatch() #7 /home/wwwroot/truckview/public/index.php(17): Framework::run() #8 {main}