AutoRpa/state_center/fixtures/README.md

21 lines
833 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 对码入参底座(一条,福建货主)
订单明细走这里,不走证据包。本批只有一条:重庆亿昊 / 哈药牌钙铁锌口服液。
## 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` 对上这条规格。对上则跳过新增货源。
查这一条:
```bash
export M5_USER=...
export M5_PASSWORD=...
python -m state_center.app.m5_client
```