AutoRpa/state_center/fixtures
Yuuuu 29df92ee17 feat: add Fujian M5 match and source-priority fixtures
Offline confirmation for 哈药牌钙铁锌口服液 uses recorded GOODSID 4000109983 and PRIORITY=1 source rows. M5 host/SID are configured; credentials stay local.
2026-08-31 17:04:48 +08:00
..
m5 feat: add Fujian M5 match and source-priority fixtures 2026-08-31 17:04:48 +08:00
orders feat: add Fujian M5 match and source-priority fixtures 2026-08-31 17:04:48 +08:00
README.md feat: add Fujian M5 match and source-priority fixtures 2026-08-31 17:04:48 +08:00
ingest_mapping.json feat: add Fujian M5 match and source-priority fixtures 2026-08-31 17:04:48 +08:00

README.md

对码入参底座(一条,福建货主)

订单明细走这里,不走证据包。本批只有一条:重庆亿昊 / 哈药牌钙铁锌口服液。

M5

  • 地址默认 173.1.1.215:1521,Service Name m5
  • 账号密码可配,不进 git:环境变量 M5_USER M5_PASSWORD,或复制 m5/connection.example.json → m5/connection.local.json
  • 查询:品名 LIKE + 文号 + 规格 + 厂家 + ENTRYID=907
  • 产地空或「无」不参与过滤
  • 回写 goods_id = GOODSID(4000109983)
  • 对码命中后再查货源:bms_su_supplygoods_doc_v × bms_su_supplygoods_dtl_v,PRIORITY 必须是 1,且 ENTRYID/GOODSTYPE/FACTORYNAME 对上这条规格。对上则跳过新增货源。

查这一条:

export M5_USER=...
export M5_PASSWORD=...
python -m state_center.app.m5_client