|
|
|
@ -288,7 +288,7 @@ public class TaskJobService {
|
|
|
|
|
QueryWrapper<PlanOrgEntity> planOrgEntityQueryWrapper = new QueryWrapper<>(); |
|
|
|
|
planOrgEntityQueryWrapper.lambda().eq(PlanOrgEntity::getPlanId, plan.getId()); |
|
|
|
|
planOrgService.list(planOrgEntityQueryWrapper).stream().forEach(entity->{ |
|
|
|
|
List<User> users = userClient.userListByDeptId(entity.getOrgId()).getData(); |
|
|
|
|
List<User> users = userClient.userList(entity.getTenantId(),entity.getOrgId()).getData(); |
|
|
|
|
for(User u:users){ |
|
|
|
|
res.add(PlanUserEntity.builder().planId(plan.getId()).userId(u.getId()).build()); |
|
|
|
|
} |
|
|
|
|