赞
踩
org.springframework.jdbc.BadSqlGrammarException:
### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Unknown error 1054
### The error may exist in com/mia/system/mapper/SysRoleMapper.java (best guess)
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: SELECT id,role_name,role_code,description,create_time,update_time,is_deleted FROM sys_role WHERE is_deleted=0 AND (role_cole = ?)
### Cause: java.sql.SQLSyntaxErrorException: Unknown error 1054
; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown error 1054
错误原因:参数错误
解决方法:数据表的列名直接从文档中复制,正确列名:role_code
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。