|
|
@ -430,9 +430,9 @@ public class ClassifyServiceImpl extends BaseServiceImpl<ClassifyMapper, Classif |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public R deptList() { |
|
|
|
public R deptList() { |
|
|
|
BladeUser user = AuthUtil.getUser(); |
|
|
|
BladeUser user = AuthUtil.getUser(); |
|
|
|
List<DeptVO> deptTree = deptClient.getDeptTree(user.getTenantId()); |
|
|
|
// List<DeptVO> deptTree = deptClient.getDeptTree(user.getTenantId());
|
|
|
|
// List<Dept> userDeptNode = deptClient.getUserDeptNode(Long.parseLong(user.getDeptId()));
|
|
|
|
List<Dept> userDeptNode = deptClient.getUserDeptNode(Long.parseLong(user.getDeptId())); |
|
|
|
return R.data(deptTree); |
|
|
|
return R.data(userDeptNode); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|