|
@@ -19,6 +19,8 @@ import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
@Service
|
|
|
public class OrganizationServiceImpl extends BaseServiceImpl<Integer, Organization> implements OrganizationService {
|
|
|
|
|
@@ -103,4 +105,11 @@ public class OrganizationServiceImpl extends BaseServiceImpl<Integer, Organizati
|
|
|
sysUserDao.update(sysUser);
|
|
|
imFeignService.update(new ImUserModel(sysUser.getId().toString(),sysUser.getRealName(),sysUser.getAvatar()));
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public List<Integer> getSelfAndChildOrganIds(Integer organId) {
|
|
|
+ Organization organization = organDao.get(organId);
|
|
|
+ organDao.getSelfAndChildOrganIds(organization.getParentOrganIdTag());
|
|
|
+ return null;
|
|
|
+ }
|
|
|
}
|