diff --git a/rpa_oms/examples/sales_goods_batch.json b/rpa_oms/examples/sales_goods_batch.json index 6056840..2a0e33d 100644 --- a/rpa_oms/examples/sales_goods_batch.json +++ b/rpa_oms/examples/sales_goods_batch.json @@ -15,7 +15,7 @@ "unit": "盒", "customerId": "C00010001", "customerName": "示例医院", - "orgCode": "901", + "orgCode": "907", "goodsMdmCode": "QX0100167583", "customerMdmCode": "DW0100079727" }, @@ -34,7 +34,7 @@ "unit": "支", "customerId": "C00010001", "customerName": "示例医院", - "orgCode": "901", + "orgCode": "907", "goodsMdmCode": "QX0100167583", "customerMdmCode": "DW0100079727" } diff --git a/rpa_oms/tests/test_oracle_repo.py b/rpa_oms/tests/test_oracle_repo.py index 7682177..e5e183f 100644 --- a/rpa_oms/tests/test_oracle_repo.py +++ b/rpa_oms/tests/test_oracle_repo.py @@ -29,7 +29,7 @@ def _record(): "unit": "盒", "customer_id": "C00010001", "customer_name": "示例医院", - "org_code": "901", + "org_code": "907", "goods_mdm_code": "QX0100167583", "customer_mdm_code": "DW0100079727", "deal_flag": 0, diff --git a/rpa_oms/tests/test_sales_goods_receive.py b/rpa_oms/tests/test_sales_goods_receive.py index d4d6724..9678add 100644 --- a/rpa_oms/tests/test_sales_goods_receive.py +++ b/rpa_oms/tests/test_sales_goods_receive.py @@ -32,7 +32,7 @@ def _item(**overrides): "unit": "盒", "customerId": "C00010001", "customerName": "示例医院", - "orgCode": "901", + "orgCode": "907", "goodsMdmCode": "QX0100167583", "customerMdmCode": "DW0100079727", } diff --git a/rpa_selection/tests/test_cli.py b/rpa_selection/tests/test_cli.py index db8400f..7d22d91 100644 --- a/rpa_selection/tests/test_cli.py +++ b/rpa_selection/tests/test_cli.py @@ -32,7 +32,7 @@ def test_main_writes_cart_rows_from_mapping(monkeypatch): goods_name="药A", goods_spec="0.25g", manufacturer="示例", - org_code="901", + org_code="907", deal_flag=0, ) ] diff --git a/rpa_selection/tests/test_job.py b/rpa_selection/tests/test_job.py index 40c53dc..98ee369 100644 --- a/rpa_selection/tests/test_job.py +++ b/rpa_selection/tests/test_job.py @@ -20,7 +20,7 @@ def _row(**overrides) -> MappingRow: "goods_name": "阿莫西林", "goods_spec": "0.25g", "manufacturer": "示例制药", - "org_code": "901", + "org_code": "907", "deal_flag": 0, } data.update(overrides) diff --git a/rpa_selection/tests/test_oracle_repo.py b/rpa_selection/tests/test_oracle_repo.py index c00f849..28179a8 100644 --- a/rpa_selection/tests/test_oracle_repo.py +++ b/rpa_selection/tests/test_oracle_repo.py @@ -84,7 +84,7 @@ def test_save_result_inserts_cart_then_updates_mapping(): "status": 1, "fail_reason": None, "push_status": 0, - "org_code": "901", + "org_code": "907", "multi_platform_flag": 0, } ], diff --git a/rpa_selection/tests/test_persist.py b/rpa_selection/tests/test_persist.py index 7d1bd95..a9752c8 100644 --- a/rpa_selection/tests/test_persist.py +++ b/rpa_selection/tests/test_persist.py @@ -20,7 +20,7 @@ def _purchase(**overrides) -> PurchaseLine: "oms_id": 2026100201, "bar_code": "06901234567890", "generic_name": "阿莫西林", - "org_code": "901", + "org_code": "907", } data.update(overrides) return PurchaseLine(**data)