落地多段联运私聊:齐了才建单拉群,附件只收格子值,核对改正不再整单重开。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -20,7 +20,17 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def _pick_card_flow(sender_id: str, payload: dict | None):
|
||||
"""点卡:海运/陆运书签能找回工单就走对应流程,否则空运。"""
|
||||
"""
|
||||
点卡:先认多段联运,再认海运/陆运,最后才空运。
|
||||
|
||||
多段工单主账停点常被收成 tms_miss。若先走空运,「拉产品进群」会被丢掉、销售点了没回声。
|
||||
"""
|
||||
from agent.policy.multi_text_flow import get_multi_text_flow
|
||||
|
||||
multi = get_multi_text_flow()
|
||||
multi_sess = multi.session_for_action(sender_id, payload)
|
||||
if multi_sess and (multi_sess.business_line or "").upper() == "MULTI":
|
||||
return multi
|
||||
sea = get_sea_text_flow()
|
||||
sess = sea.session_for_action(sender_id, payload)
|
||||
if sess and (sess.business_line or "").upper() == "SEA":
|
||||
|
||||
Reference in New Issue
Block a user