SQL出错: select id from sl_service_work where type=#0 /www/wwwroot/www.zhonghengdesign.com/silephp/databases/CPdo.class.php(180): CPdo->base_query('select id from ...') #1 /www/wwwroot/www.zhonghengdesign.com/silephp/databases/CPdo.class.php(167): CPdo->setAttribute('select id from ...', 2, NULL) #2 /www/wwwroot/www.zhonghengdesign.com/silephp/core/Model.class.php(905): CPdo->getValueBySelfCreateSql('select id from ...') #3 /www/wwwroot/www.zhonghengdesign.com/application/front/controllers/services_worksController.class.php(25): Model->total('type=') #4 /www/wwwroot/www.zhonghengdesign.com/silephp/core/Framework.class.php(160): services_worksController->indexAction() #5 /www/wwwroot/www.zhonghengdesign.com/silephp/core/Framework.class.php(16): Framework::dispatch() #6 /www/wwwroot/www.zhonghengdesign.com/public/index.php(15): Framework::run() #7 {main}