SQL出错: select id from `sl_sort` where classid = AND 1 = 1 order by id #0 /home/wwwroot/zhejiangchenyu/silephp/databases/CPdo.class.php(134): CPdo->base_query('select id from ...') #1 /home/wwwroot/zhejiangchenyu/silephp/databases/CPdo.class.php(121): CPdo->setAttribute('select id from ...', 2, NULL) #2 /home/wwwroot/zhejiangchenyu/silephp/databases/CPdo.class.php(238): CPdo->getValueBySelfCreateSql('select id from ...', 'assoc', NULL) #3 /home/wwwroot/zhejiangchenyu/silephp/core/Model.class.php(321): CPdo->query('sl_sort', 'id', Array, NULL, 'id', NULL, NULL, NULL, 'assoc', NULL) #4 /home/wwwroot/zhejiangchenyu/silephp/core/Model.class.php(281): Model->do_sql() #5 /home/wwwroot/zhejiangchenyu/application/front/controllers/baseController.class.php(112): Model->all() #6 /home/wwwroot/zhejiangchenyu/application/front/controllers/baseController.class.php(80): baseController->common('19') #7 /home/wwwroot/zhejiangchenyu/silephp/core/Framework.class.php(154): baseController->__construct() #8 /home/wwwroot/zhejiangchenyu/silephp/core/Framework.class.php(11): Framework::dispatch() #9 /home/wwwroot/zhejiangchenyu/public/index.php(12): Framework::run() #10 {main}