Przeglądaj źródła

根据登录用户角色判断部门对应的道路

tags/v1.0.0^2
chengwang 1 rok temu
rodzic
commit
3622bbcd19
1 zmienionych plików z 0 dodań i 1 usunięć
  1. +0
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/RoadInformationServiceImpl.java

+ 0
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/RoadInformationServiceImpl.java Wyświetl plik

@@ -167,7 +167,6 @@ public class RoadInformationServiceImpl extends BaseServiceImpl<RoadInformationM
List<RoadDept> list = roadDeptMapper.selectListByDeptIdList(deptIdList);
roadInformationList = this.getRoadInformationList(tenantId, list);
}

//普通用户
if(UserTypeEnum.ORDINARY_USER.getCode() == user.getType()){
List<RoadDept> roadDeptList = roadDeptMapper.selectList(new LambdaQueryWrapper<RoadDept>()

Ładowanie…
Anuluj
Zapisz