空运「货交」只记提货地址,不再当成起运地。舱位旧说法「释放」先问航线是否取消,陆运通关口岸示例改为友谊关。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-11 20:45:53 +08:00
co-authored by Cursor
parent b070a9b7a7
commit 185abbf45e
16 changed files with 533 additions and 49 deletions
+4 -4
View File
@@ -65,7 +65,7 @@ class TestSystemExceptionCopy(unittest.TestCase):
)
self.assertEqual(
copy.system_exception_impact(copy.STEP_TMS_RELEASE),
"释放舱位失败,工单状态保持不变",
"取消舱位失败,工单状态保持不变",
)
def test_alert_title_never_has_test_prefix(self) -> None:
@@ -118,9 +118,9 @@ class TestSystemExceptionCopy(unittest.TestCase):
)
self.assertEqual(
text,
"工单WO202609210001 空运释放舱位失败。\n"
"工单WO202609210001 空运取消舱位失败。\n"
"操作人:吴季林\n"
"释放舱位失败的原因:舱位不存在\n"
"取消舱位失败的原因:舱位不存在\n"
"已通知IT运维排查,请稍等。",
)
@@ -409,7 +409,7 @@ class TestConfirmSystemException(unittest.TestCase):
)
card = queued[0]["payload"]["template_card"]
values = {row["keyname"]: row["value"] for row in card["horizontal_content_list"]}
self.assertEqual(values["影响范围"], "释放舱位失败,工单状态保持不变")
self.assertEqual(values["影响范围"], "取消舱位失败,工单状态保持不变")
def test_closed_ticket_not_marked(self) -> None:
self.ledger.transition(work_order_no=self.wo, to_status="已关闭")