流转工作流程
This commit is contained in:
@@ -121,4 +121,7 @@ public interface UserFeignClient {
|
||||
@PostMapping("/getUserListByIds")
|
||||
HttpResult<List<User>> getUserListByIds(@RequestBody List<String> ids);
|
||||
|
||||
@PostMapping("/getUserVOByIdList")
|
||||
HttpResult<List<UserVO>> getUserVOByIdList(@RequestBody List<String> ids);
|
||||
|
||||
}
|
||||
|
||||
@@ -111,6 +111,12 @@ public class UserFeignClientFallbackFactory implements FallbackFactory<UserFeign
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<List<UserVO>> getUserVOByIdList(List<String> ids) {
|
||||
log.error("{}异常,降级处理,异常为:{}","根据用户id集合获取用户集合",cause.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,6 +22,9 @@ public class UserVO extends UserParam implements Serializable {
|
||||
@ApiModelProperty("用户Id")
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty("用户名")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("登录名")
|
||||
private String loginName;
|
||||
|
||||
@@ -34,6 +37,9 @@ public class UserVO extends UserParam implements Serializable {
|
||||
@ApiModelProperty("登录时间")
|
||||
private String loginTime;
|
||||
|
||||
@ApiModelProperty("部门编号")
|
||||
private String deptId;
|
||||
|
||||
@ApiModelProperty("部门名称")
|
||||
private String deptName;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user