@@ -93,7 +93,7 @@ public class SysPermissionServiceImpl extends ServiceImpl<SysPermissionMapper, S
String regex ="(?i)\\s+AND\\s+";
String modiSQL = "";
for (String s : sql.split(regex)) {
- if(s.trim()!=""){
+ if(s.trim().length()>0){
modiSQL += " AND p."+s.trim();
}