Commit 5915d032 by duanhq

角色查询修改 by duanht 2019/3/7

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18288 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 70aadb65
...@@ -48,7 +48,7 @@ public class SysRoleServiceImpl implements SysRoleService { ...@@ -48,7 +48,7 @@ public class SysRoleServiceImpl implements SysRoleService {
} }
if (StringUtils.isNotEmpty(roleQueryVo.getName())) { if (StringUtils.isNotEmpty(roleQueryVo.getName())) {
criteria.andNameEqualTo(roleQueryVo.getName()); criteria.andNameLike(roleQueryVo.getName());
} }
if (StringUtils.isNotEmpty(roleQueryVo.getsTime()) && StringUtils.isNotEmpty(roleQueryVo.geteTime())) { if (StringUtils.isNotEmpty(roleQueryVo.getsTime()) && StringUtils.isNotEmpty(roleQueryVo.geteTime())) {
...@@ -62,7 +62,7 @@ public class SysRoleServiceImpl implements SysRoleService { ...@@ -62,7 +62,7 @@ public class SysRoleServiceImpl implements SysRoleService {
} }
if (StringUtils.isNotEmpty(roleQueryVo.getPermissionCharacter())) { if (StringUtils.isNotEmpty(roleQueryVo.getPermissionCharacter())) {
criteria.andPermissionCharacterEqualTo(roleQueryVo.getPermissionCharacter()); criteria.andPermissionCharacterLike(roleQueryVo.getPermissionCharacter());
} }
List<SysRole> sysRoleList = sysRoleMapper.selectByExample(sysRoleExample); List<SysRole> sysRoleList = sysRoleMapper.selectByExample(sysRoleExample);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!