:(

1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and `part_class`= )' at line 1 [ SQL语句 ] : SELECT * FROM `yc_parttime` WHERE ( `id` != and `part_class`= )

错误位置

FILE: /sdd2/wwwroot/ycrcw/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 350

TRACE

#0 /sdd2/wwwroot/ycrcw/ThinkPHP/Library/Think/Db/Driver.class.php(350): E('1064:You have a...')
#1 /sdd2/wwwroot/ycrcw/ThinkPHP/Library/Think/Db/Driver.class.php(180): Think\Db\Driver->error()
#2 /sdd2/wwwroot/ycrcw/ThinkPHP/Library/Think/Db/Driver.class.php(963): Think\Db\Driver->query('SELECT * FROM `...', false)
#3 /sdd2/wwwroot/ycrcw/ThinkPHP/Library/Think/Model.class.php(624): Think\Db\Driver->select(Array)
#4 /sdd2/wwwroot/ycrcw/Appycrc/Home/Controller/ParttimeController.class.php(163): Think\Model->select()
#5 [internal function]: Home\Controller\ParttimeController->parttime_show()
#6 /sdd2/wwwroot/ycrcw/ThinkPHP/Library/Think/App.class.php(169): ReflectionMethod->invoke(Object(Home\Controller\ParttimeController))
#7 /sdd2/wwwroot/ycrcw/ThinkPHP/Library/Think/App.class.php(106): Think\App::invokeAction(Object(Home\Controller\ParttimeController), 'parttime_show')
#8 /sdd2/wwwroot/ycrcw/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#9 /sdd2/wwwroot/ycrcw/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#10 /sdd2/wwwroot/ycrcw/ThinkPHP/ThinkPHP.php(106): Think\Think::start()
#11 /sdd2/wwwroot/ycrcw/index.php(58): require('/sdd2/wwwroot/y...')
#12 {main}