|
发表于 2019-4-24 17:58:29
|
显示全部楼层
LambdaQueryWrapper<SysPermission> query = new LambdaQueryWrapper<SysPermission>();
query.eq(SysPermission::getMenuType,2);
query.eq(SysPermission::getDelFlag,0);
query.eq(SysPermission::getUrl, '/'+requestPath);
currentSyspermission = sysPermissionService.getOne(query);
query.eq(SysPermission::getUrl, requestPath);改为query.eq(SysPermission::getUrl, '/'+requestPath);正常
在哪里修改更合适? |
|