應用程序異常
抱歉!您訪問的頁面出現異常,請稍后重試或聯系專業人員。
詳 情
返 回
org.springframework.jdbc.BadSqlGrammarException:
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 '-6,6' at line 35
### The error may exist in file [E:\web\lzh\ROOT\WEB-INF\classes\mybatis\web\NewsMapper.xml]
### The error may involve NewsMapper.listAllColId-Inline
### The error occurred while setting parameters
### SQL: select TITLE, CTIME, STEMFROM, IMAGE, SHORTCONTENT, CONTEXT, HIDE, WEIGHT, NEWS_IMG, NEWS_IMGNAME, TUIJIAN, COLUMNID, ADDTIME, GROUPID, BZ, NEWS_ID, SEO, SEOINFO, NEWS_NUM, TIMETITLE from WEB_NEWS where 1=1 and COLUMNID =? and HIDE='no' order by CTIME desc limit ?,?
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 '-6,6' at line 35
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 '-6,6' at line 35