:(

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 '' at line 1 [ SQL语句 ] : SELECT jk_doctor.*,jk_hospital.name as hosname,jk_faculty.name as facname FROM `jk_doctor` LEFT JOIN jk_hospital on jk_doctor.hos_id=jk_hospital.id LEFT JOIN jk_faculty on jk_doctor.fac_id=jk_faculty.id WHERE jk_doctor.id=

错误位置

FILE: F:\health.zcinfo.net\Lib\Driver\Db\DbMysql.class.php  LINE: 320

TRACE

[18-10-20 01:22:10] F:\health.zcinfo.net\Lib\Driver\Db\DbMysql.class.php (320) trace(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 '' at line 1
[ SQL语句 ] : SELECT jk_doctor.*,jk_hospital.name as hosname,jk_faculty.name as facname FROM `jk_doctor` LEFT JOIN jk_hospital on jk_doctor.hos_id=jk_hospital.id LEFT JOIN jk_faculty on jk_doctor.fac_id=jk_faculty.id WHERE jk_doctor.id= , , ERR)
[18-10-20 01:22:10] F:\health.zcinfo.net\Lib\Driver\Db\DbMysql.class.php (107) DbMysql->error()
[18-10-20 01:22:10] F:\health.zcinfo.net\Lib\Core\Db.class.php (739) DbMysql->query(SELECT jk_doctor.*,jk_hospital.name as hosname,jk_faculty.name as facname FROM `jk_doctor` LEFT JOIN jk_hospital on jk_doctor.hos_id=jk_hospital.id LEFT JOIN jk_faculty on jk_doctor.fac_id=jk_faculty.id WHERE jk_doctor.id= )
[18-10-20 01:22:10] F:\health.zcinfo.net\Lib\Core\Model.class.php (497) Db->select(Array)
[18-10-20 01:22:10] F:\health.zcinfo.net\web\Lib\Action\DaifuAction.class.php (10) Model->select()
[18-10-20 01:22:10] () DaifuAction->index()
[18-10-20 01:22:10] F:\health.zcinfo.net\Lib\Core\App.class.php (172) ReflectionMethod->invoke()
[18-10-20 01:22:10] F:\health.zcinfo.net\Lib\Core\App.class.php (208) App::exec()
[18-10-20 01:22:10] F:\health.zcinfo.net\Lib\Core\Think.class.php (39) App::run()
[18-10-20 01:22:10] F:\health.zcinfo.net\Common\runtime.php (243) Think::start()
[18-10-20 01:22:10] F:\health.zcinfo.net\ThinkPHP.php (30) require(F:\health.zcinfo.net\Common\runtime.php)
[18-10-20 01:22:10] F:\health.zcinfo.net\index.php (10) require(F:\health.zcinfo.net\ThinkPHP.php)