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

派单逻辑更改 #12

Open
ljm12914 opened this issue Sep 12, 2024 · 0 comments
Open

派单逻辑更改 #12

ljm12914 opened this issue Sep 12, 2024 · 0 comments
Assignees

Comments

@ljm12914
Copy link
Member

ljm12914 commented Sep 12, 2024

  1. 先检查工单能被什么校区的技术员接收。如果线上,则所有;线下是华西或望江,则可以被华西或望江技术员接收。如果用户勾选了“在没有本校区可用技术员时,分配其他校区技术员”,则所有,但是留一个flag先检查本校区。
  2. 在1中步骤筛选不在强制间隔区间中的目标校区技术员,然后按照接单意愿和上次接单时间根据之前那个算法赋予权重,随机抽人。
  3. 如果本校区没有,且工单可以被所有校区技术员接收,则以以下权重顺序检查校区
    • 江安:江安——望江——华西
    • 望江:望江——华西——江安
    • 华西:华西——望江——江安
  4. 如果校区为望江或华西的线下单确认了江安的技术员,或者反之,则通知用户需要前往其他校区。
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