SQL出错: SELECT * FROM sl_wenzhang WHERE (pinpai= AND xilie='') OR (pinpai= AND xilie='' AND chanpin='') OR (pinpai= AND xilie='' AND chanpin=) ORDER BY dianjiliang desc,id desc LIMIT 6#0 /www/wwwroot/www.naifenzhiku.com/silephp/databases/CPdo.class.php(135): CPdo->base_query('SELECT * FROM s...') #1 /www/wwwroot/www.naifenzhiku.com/silephp/databases/CPdo.class.php(122): CPdo->setAttribute('SELECT * FROM s...', 2, NULL) #2 /www/wwwroot/www.naifenzhiku.com/silephp/core/Model.class.php(402): CPdo->getValueBySelfCreateSql('SELECT * FROM s...') #3 /www/wwwroot/www.naifenzhiku.com/application/front/models/wenzhangModel.class.php(90): Model->findBySql('SELECT * FROM s...') #4 /www/wwwroot/www.naifenzhiku.com/application/front/controllers/powderController.class.php(352): wenzhangModel->getAlls(NULL, '', NULL, 6) #5 /www/wwwroot/www.naifenzhiku.com/silephp/core/Framework.class.php(130): powderController->detailAction() #6 /www/wwwroot/www.naifenzhiku.com/silephp/core/Framework.class.php(11): Framework::dispatch() #7 /www/wwwroot/www.naifenzhiku.com/index.php(15): Framework::run() #8 {main}