feat(REQ-3714): 处理项目内工人退场
This commit is contained in:
parent
517a5c25bc
commit
796108914b
@ -199,8 +199,8 @@ public class NodeUserFoundationServiceImpl implements NodeUserFoundationService
|
||||
OrgUserWithdrawOrQuitReq quitReq = new OrgUserWithdrawOrQuitReq();
|
||||
quitReq.setUnitUpdate(req.isUnitDelete());
|
||||
quitReq.setWorkspaceId(req.getWorkspaceId());
|
||||
quitReq.setOuId(req.getOuId());
|
||||
if (req.isUnitDelete()) {
|
||||
quitReq.setOuId(req.getOuId());
|
||||
quitReq.setWorkspaceId(nodeUserList.get(0).getWorkspaceId());
|
||||
}
|
||||
quitReq.setTopNodeIdAndPersonIds(quitMap);
|
||||
@ -210,6 +210,7 @@ public class NodeUserFoundationServiceImpl implements NodeUserFoundationService
|
||||
OrgProjectWorkerWithdrawReq workerReq = new OrgProjectWorkerWithdrawReq();
|
||||
workerReq.setWorkspaceId(req.getWorkspaceId());
|
||||
if (req.isUnitDelete()) {
|
||||
quitReq.setOuId(req.getOuId());
|
||||
workerReq.setWorkspaceId(nodeUserList.get(0).getWorkspaceId());
|
||||
}
|
||||
workerReq.setPersonIds(req.getPersonIds());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user