SQL出错: SELECT * FROM sl_wenzhang WHERE (pinpai=A AND xilie='') OR (pinpai=A AND xilie='A' AND chanpin='') OR (pinpai=A AND xilie='A' AND chanpin=A) ORDER BY dianjiliang desc,id desc LIMIT 6#0 /www/wwwroot/www.naifenzhiku.com/silephp/databases/CPdo.class.php(141): 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(403): 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(451): wenzhangModel->getAlls('A', 'A', 'A', 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(16): Framework::run() #8 {main}