流转工作流程

This commit is contained in:
2024-05-12 16:15:34 +08:00
parent 1a9beeed93
commit eb9818dd7f
71 changed files with 3810 additions and 302 deletions

View File

@@ -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);
}

View File

@@ -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);
}
};
}
}

View File

@@ -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;