diff --git a/Pinnacle/src/main/resources/mapper/RoleMapper.xml b/Pinnacle/src/main/resources/mapper/RoleMapper.xml index 2648c91..fd967c7 100644 --- a/Pinnacle/src/main/resources/mapper/RoleMapper.xml +++ b/Pinnacle/src/main/resources/mapper/RoleMapper.xml @@ -28,7 +28,7 @@ left join t_menu tm on tp.id = tm.power_id left join t_element te on tp.id = te.power_id left join t_operation t on tp.id = t.power_id - where t_role.deleted = 0 and tpr.deleted = 0; + where t_role.deleted = 0 and (tpr.deleted = 0 or tpr.deleted is null);