Commit 69829b35 by 刘鑫

feat(kafka): 变更逻辑合并

1 parent b346c5d6
...@@ -60,12 +60,7 @@ public class BeanKafkaConsumer { ...@@ -60,12 +60,7 @@ public class BeanKafkaConsumer {
OrganizationTreeDTO.Request request = branchInfo.get(); OrganizationTreeDTO.Request request = branchInfo.get();
final String orgId = request.getLevelValue(); final String orgId = request.getLevelValue();
if (!"group".equalsIgnoreCase(request.getLevelType())) { if (!"group".equalsIgnoreCase(request.getLevelType()) || beanRemoteService.isBeanSelf(orgId)) {
beanRemoteService.departmentDetail(beanRemoteService.getAccessToken(), orgId, null);
}
if (beanRemoteService.isBeanSelf(orgId)) {
beanRemoteService.departmentDetail(beanRemoteService.getAccessToken(), orgId, null); beanRemoteService.departmentDetail(beanRemoteService.getAccessToken(), orgId, null);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!