+班组长OUID
This commit is contained in:
parent
d553bc9132
commit
7052cb8dad
@ -658,6 +658,10 @@ public class PendingMessageNewServiceImpl implements PendingMessageNewService {
|
||||
if(null == record.getOuId()){
|
||||
record.setOuId(getPractitionOuId(executor, workspaceId));
|
||||
}
|
||||
// 班组长ouId默认0
|
||||
if (IdentityTypeEnum.WORKER_LEADER == executor.getIdentity().getType()) {
|
||||
record.setOuId(0L);
|
||||
}
|
||||
}
|
||||
|
||||
private Long getPractitionOuId(PersonDTO executor, Long workspaceId) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user