Selaa lähdekoodia

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

tags/v1.0.0^2
chengwang 1 vuosi sitten
vanhempi
commit
3622bbcd19
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  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 Näytä tiedosto

@@ -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…
Peruuta
Tallenna