:(

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 '-10,10' at line 1 [ SQL语句 ] : SELECT * FROM `zp_news` WHERE ( `iType` IN ('') ) AND ( `iShow` = 1 ) AND ( `iStatus` = 1 ) ORDER BY iOrder DESC,dDate DESC LIMIT -10,10

错误位置

FILE: /webdata/www/qzcshospital/web/cszxzp/ThinkPHP/Lib/Driver/Db/DbMysql.class.php  LINE: 320

TRACE

[19-10-15 23:11:10] /webdata/www/qzcshospital/web/cszxzp/ThinkPHP/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 '-10,10' at line 1
[ SQL语句 ] : SELECT * FROM `zp_news` WHERE ( `iType` IN ('') ) AND ( `iShow` = 1 ) AND ( `iStatus` = 1 ) ORDER BY iOrder DESC,dDate DESC LIMIT -10,10 , , ERR)
[19-10-15 23:11:10] /webdata/www/qzcshospital/web/cszxzp/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[19-10-15 23:11:10] /webdata/www/qzcshospital/web/cszxzp/ThinkPHP/Lib/Core/Db.class.php (739) DbMysql->query(SELECT * FROM `zp_news` WHERE ( `iType` IN ('') ) AND ( `iShow` = 1 ) AND ( `iStatus` = 1 ) ORDER BY iOrder DESC,dDate DESC LIMIT -10,10 )
[19-10-15 23:11:10] /webdata/www/qzcshospital/web/cszxzp/ThinkPHP/Lib/Core/Model.class.php (497) Db->select(Array)
[19-10-15 23:11:10] /webdata/www/qzcshospital/web/cszxzp/hpzp/Lib/Action/WebAction.class.php (95) Model->select()
[19-10-15 23:11:10] () WebAction->index()
[19-10-15 23:11:10] /webdata/www/qzcshospital/web/cszxzp/ThinkPHP/Lib/Core/App.class.php (172) ReflectionMethod->invoke()
[19-10-15 23:11:10] /webdata/www/qzcshospital/web/cszxzp/ThinkPHP/Lib/Core/App.class.php (208) App::exec()
[19-10-15 23:11:10] /webdata/www/qzcshospital/web/cszxzp/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[19-10-15 23:11:10] /webdata/www/qzcshospital/web/cszxzp/ThinkPHP/Common/runtime.php (243) Think::start()
[19-10-15 23:11:10] /webdata/www/qzcshospital/web/cszxzp/ThinkPHP/ThinkPHP.php (30) require(/webdata/www/qzcshospital/web/cszxzp/ThinkPHP/Common/runtime.php)
[19-10-15 23:11:10] /webdata/www/qzcshospital/web/cszxzp/hpzp.php (15) require(/webdata/www/qzcshospital/web/cszxzp/ThinkPHP/ThinkPHP.php)