代码生成,增加按钮权限后,报错
AuthInterceptor.java中158行:for(String operationIds:hasOperList){
报错,类型转换错误,
数据库中t_s_role_function表中 operation字段为nclob,转string报错 使用oracle数据库,版本3.6.5 修改方法:改为:String hasOperSql="SELECT to_char(operation) as operation FROM t_s_role_function fun, t_s_role_user role WHERE" +
"fun.functionid='"+functionId+"' AND fun.operation is not nullAND fun.roleid=role.roleid AND role.userid='"+client.getUser().getId()+"' "; 还有个方案,把oracle数据库的字段类型改了
页:
[1]