chore: 示例与单测货主编码改为 907
This commit is contained in:
parent
3257081523
commit
0379f78fe2
|
|
@ -15,7 +15,7 @@
|
||||||
"unit": "盒",
|
"unit": "盒",
|
||||||
"customerId": "C00010001",
|
"customerId": "C00010001",
|
||||||
"customerName": "示例医院",
|
"customerName": "示例医院",
|
||||||
"orgCode": "901",
|
"orgCode": "907",
|
||||||
"goodsMdmCode": "QX0100167583",
|
"goodsMdmCode": "QX0100167583",
|
||||||
"customerMdmCode": "DW0100079727"
|
"customerMdmCode": "DW0100079727"
|
||||||
},
|
},
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
"unit": "支",
|
"unit": "支",
|
||||||
"customerId": "C00010001",
|
"customerId": "C00010001",
|
||||||
"customerName": "示例医院",
|
"customerName": "示例医院",
|
||||||
"orgCode": "901",
|
"orgCode": "907",
|
||||||
"goodsMdmCode": "QX0100167583",
|
"goodsMdmCode": "QX0100167583",
|
||||||
"customerMdmCode": "DW0100079727"
|
"customerMdmCode": "DW0100079727"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ def _record():
|
||||||
"unit": "盒",
|
"unit": "盒",
|
||||||
"customer_id": "C00010001",
|
"customer_id": "C00010001",
|
||||||
"customer_name": "示例医院",
|
"customer_name": "示例医院",
|
||||||
"org_code": "901",
|
"org_code": "907",
|
||||||
"goods_mdm_code": "QX0100167583",
|
"goods_mdm_code": "QX0100167583",
|
||||||
"customer_mdm_code": "DW0100079727",
|
"customer_mdm_code": "DW0100079727",
|
||||||
"deal_flag": 0,
|
"deal_flag": 0,
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ def _item(**overrides):
|
||||||
"unit": "盒",
|
"unit": "盒",
|
||||||
"customerId": "C00010001",
|
"customerId": "C00010001",
|
||||||
"customerName": "示例医院",
|
"customerName": "示例医院",
|
||||||
"orgCode": "901",
|
"orgCode": "907",
|
||||||
"goodsMdmCode": "QX0100167583",
|
"goodsMdmCode": "QX0100167583",
|
||||||
"customerMdmCode": "DW0100079727",
|
"customerMdmCode": "DW0100079727",
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ def test_main_writes_cart_rows_from_mapping(monkeypatch):
|
||||||
goods_name="药A",
|
goods_name="药A",
|
||||||
goods_spec="0.25g",
|
goods_spec="0.25g",
|
||||||
manufacturer="示例",
|
manufacturer="示例",
|
||||||
org_code="901",
|
org_code="907",
|
||||||
deal_flag=0,
|
deal_flag=0,
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ def _row(**overrides) -> MappingRow:
|
||||||
"goods_name": "阿莫西林",
|
"goods_name": "阿莫西林",
|
||||||
"goods_spec": "0.25g",
|
"goods_spec": "0.25g",
|
||||||
"manufacturer": "示例制药",
|
"manufacturer": "示例制药",
|
||||||
"org_code": "901",
|
"org_code": "907",
|
||||||
"deal_flag": 0,
|
"deal_flag": 0,
|
||||||
}
|
}
|
||||||
data.update(overrides)
|
data.update(overrides)
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ def test_save_result_inserts_cart_then_updates_mapping():
|
||||||
"status": 1,
|
"status": 1,
|
||||||
"fail_reason": None,
|
"fail_reason": None,
|
||||||
"push_status": 0,
|
"push_status": 0,
|
||||||
"org_code": "901",
|
"org_code": "907",
|
||||||
"multi_platform_flag": 0,
|
"multi_platform_flag": 0,
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ def _purchase(**overrides) -> PurchaseLine:
|
||||||
"oms_id": 2026100201,
|
"oms_id": 2026100201,
|
||||||
"bar_code": "06901234567890",
|
"bar_code": "06901234567890",
|
||||||
"generic_name": "阿莫西林",
|
"generic_name": "阿莫西林",
|
||||||
"org_code": "901",
|
"org_code": "907",
|
||||||
}
|
}
|
||||||
data.update(overrides)
|
data.update(overrides)
|
||||||
return PurchaseLine(**data)
|
return PurchaseLine(**data)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue