Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加子公司名称过滤功能,减少无效查询 #138

Open
lovelyjuice opened this issue Aug 12, 2024 · 3 comments
Open

增加子公司名称过滤功能,减少无效查询 #138

lovelyjuice opened this issue Aug 12, 2024 · 3 comments

Comments

@lovelyjuice
Copy link

某些公司,下属子公司或者分支机构有各种各样的营业厅、营业部、送水站、服务站、服务中心,这些营业厅都是没有任何互联网资产的,但是却占了分支机构总量的80%~90%以上,导致查询速率降低数十倍,频繁触发安全验证。

建议提供一个参数,用正则表达式过滤子公司/分支机构名称。

@keac
Copy link
Member

keac commented Aug 23, 2024

我的理解就是给查公司分支机构的时候设置一个支持正则自定义的黑名单,遇到黑名单就跳过

@lovelyjuice
Copy link
Author

是的,我自己试着改了下,只需要增加十几行代码就能实现
image

@keac
Copy link
Member

keac commented Aug 23, 2024

师傅实现了的可以提个pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants