修改角色删除后,再分配角色时,该角色还存在的问题

This commit is contained in:
baozhuhui
2019-04-04 15:01:26 +08:00
parent ced7d9b2e8
commit f4cccc0fe3

View File

@@ -83,6 +83,7 @@ public class RoleService {
public List<Role> findUserRole(){
RoleExample example = new RoleExample();
example.setOrderByClause("Id");
example.createCriteria().andDeleteFlagNotEqualTo(BusinessConstants.DELETE_FLAG_DELETED);
List<Role> list = roleMapper.selectByExample(example);
return list;
}