Sfoglia il codice sorgente

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

tags/v1.0.0^2
chengwang 1 anno fa
parent
commit
3622bbcd19
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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 Vedi File

@@ -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>()

Loading…
Annulla
Salva