组织人员树
This commit is contained in:
parent
a8adc42f4b
commit
d7dc110807
|
|
@ -164,23 +164,12 @@ public interface RemoteUserService {
|
||||||
/**
|
/**
|
||||||
* 查询部门人员树列表
|
* 查询部门人员树列表
|
||||||
*
|
*
|
||||||
* @param dept 部门信息
|
* @param sysUser 部门信息
|
||||||
* @param source 请求来源
|
* @param source 请求来源
|
||||||
* @return 部门人员树列表或失败消息
|
* @return 部门人员树列表或失败消息
|
||||||
*/
|
*/
|
||||||
@GetMapping("/user/deptUserTree")
|
@PostMapping("/user/deptUserTree")
|
||||||
public AjaxResult deptUserTree(SysDept dept, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
public AjaxResult deptUserTree(SysUser sysUser, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||||
|
|
||||||
/**
|
|
||||||
* 根据角色查询部门人员树列表
|
|
||||||
*
|
|
||||||
* @param dept 部门信息
|
|
||||||
* @param roleIds 角色列表
|
|
||||||
* @param source 请求来源
|
|
||||||
* @return 部门人员树列表或失败消息
|
|
||||||
*/
|
|
||||||
// @GetMapping("/user/deptUserTreeInRoleIds")
|
|
||||||
// public AjaxResult deptUserTreeInRoleIds(SysDept dept, List<Long> roleIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改用户审批状态
|
* 修改用户审批状态
|
||||||
|
|
|
||||||
|
|
@ -125,15 +125,10 @@ public class RemoteUserFallbackFactory implements FallbackFactory<RemoteUserServ
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AjaxResult deptUserTree(SysDept dept, String source) {
|
public AjaxResult deptUserTree(SysUser sysUser, String source) {
|
||||||
return AjaxResult.error("获取部门人员树列表:" + throwable.getMessage());
|
return AjaxResult.error("查询部门人员树列表:" + throwable.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Override
|
|
||||||
// public AjaxResult deptUserTreeInRoleIds(SysDept dept, List<Long> roleIds, String source) {
|
|
||||||
// return AjaxResult.error("根据角色列表获取部门人员树列表:" + throwable.getMessage());
|
|
||||||
// }
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AjaxResult approvalStatus(SysUser user, String source) {
|
public AjaxResult approvalStatus(SysUser user, String source) {
|
||||||
return AjaxResult.error("修改用户审批状态失败:" + throwable.getMessage());
|
return AjaxResult.error("修改用户审批状态失败:" + throwable.getMessage());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue