feat(工作报告团队视角): 工作报告现在可以查看团队视角了(查看下属)。
fix(工作报告定时生成): 修复工作报告定时生成带来的一些问题。
This commit is contained in:
@@ -17,6 +17,7 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
@FeignClient(name = ApiConstants.NAME)
|
||||
@Tag(name = "RPC 服务 - 用户管理链路")
|
||||
@@ -44,6 +45,11 @@ public interface UserManagementRelationApi {
|
||||
@Parameter(name = "ids", description = "关系编号数组", example = "1,2", required = true)
|
||||
CommonResult<List<UserManagementRelationRespDTO>> getRelationList(@RequestParam("ids") Collection<Long> ids);
|
||||
|
||||
@GetMapping(PREFIX + "/all-subordinate-user-ids")
|
||||
@Operation(summary = "获取某管理者全部下属用户 ID")
|
||||
@Parameter(name = "managerUserId", description = "管理者用户 ID", example = "1", required = true)
|
||||
CommonResult<Set<Long>> getAllSubordinateUserIds(@RequestParam("managerUserId") Long managerUserId);
|
||||
|
||||
default Map<Long, UserManagementRelationRespDTO> getRelationMap(Collection<Long> ids) {
|
||||
if (CollUtil.isEmpty(ids)) {
|
||||
return MapUtil.empty();
|
||||
|
||||
Reference in New Issue
Block a user