SpringMVC的sql语句问题

图片说明
这个插入语句有问题吗?急求
报下面这个错

Error updating 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 '' at line 3

The error may involve com.tms.util.mapper.DictMapper.insertModule-Inline

The error occurred while setting parameters

SQL: insert into WX_DICT_MODULE values

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 '' at line 3

]
18:39:34.377 [http-bio-8080-exec-6] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolving exception from handler [public boolean com.tms.util.action.DictAction.saveModule(com.tms.util.bo.ModuleBo)]: org.springframework.jdbc.BadSqlGrammarException:

Error updating 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 '' at line 3

The error may involve com.tms.util.mapper.DictMapper.insertModule-Inline

The error occurred while setting parameters

SQL: insert into WX_DICT_MODULE values

1个回答

 看看传过来的参数有没有问题
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问