ERROR [http-apr-8080-exec-10] 这是jdbc Sql语句出问题了

** .SqlExceptionHelper.logExceptions 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语法sqlexceptionhelper.logexceptions;
检查对应于你的MySQL 服务器版本使用附近的正确的语法手册)的1行/。。。 这个问题咋个解决。dao层不是我写的。。Sql语句我看也没问题呀

具体的控制台打印的sql语句如下

这个基本上是SQL错误,在SQL Server中测试正确的SQL再复制到代码中,或者加断点来获取代码中的SQL,去测试

你的in关键字后面是空的呀,在数据库中是会报错的

 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**

多么明显的语法错误。