|
|
@ -163,7 +163,7 @@ public class AsyncService implements IAsyncService { |
|
|
|
} |
|
|
|
//添加成员职位
|
|
|
|
//判断成员职位是否存在
|
|
|
|
Long isExist = organizationMemberPositionDao.queryByExistByMember(memberId,param.getPositionId(),department.getId()); |
|
|
|
Long isExist = organizationMemberPositionDao.queryByExistByMember(memberId,param.getPositionId(),newDepartment.getId()); |
|
|
|
if (isExist == 0) { |
|
|
|
OrganizationMemberPosition position = new OrganizationMemberPosition(); |
|
|
|
position.setId(snowflake.nextId()); |
|
|
|