瀏覽代碼

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

tags/v1.0.0^2
chengwang 1 年之前
父節點
當前提交
3622bbcd19
共有 1 個檔案被更改,包括 0 行新增1 行删除
  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 查看文件

@@ -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…
取消
儲存