Commit Graph

22 Commits

Author SHA1 Message Date
Yuuuu f58c7a73ab fix: 选品复用仓库外 Chrome 用户目录,减少极验滑块
登录改为 persistent context,默认目录在仓库外 rpa-chrome-profile/selection。
2026-10-03 19:51:13 +08:00
Yuuuu 6fb2f5de95 fix: 1号药城支付落表不再对加购行
购物车和支付单没有强关联。导出行有细单号即写入 operate_type=2,oms_id 填 0。
2026-10-03 19:51:13 +08:00
Yuuuu 6e775566cb feat: 1号药城支付订单落表2
从买家中心导出已付订单,按条码和商家对加购成功行,写入
rpa_cart_settlement_goods_data(operate_type=2)。不推接口2。
2026-10-03 11:55:36 +08:00
34BFF76918A9449ABAB323149DDCEA73 fa4df0f27b merge: 合入远程 oms + 四作业包布局
保留本机 .env 启动、审计字段和 deal_result GBK 截断。
选品目录按远程迁到 rpa_selection。
2026-10-03 10:29:44 +08:00
Yuuuu 60c2d6d0f0 chore: 去掉 state_center 旧栈,根目录只留 oms 与四个作业包
删除 state_center、state_center_web、rpa_mock、scripts 及并行开发残留。
oms 运行时只走 Oracle,内存仓库留给单测注入。
2026-10-03 10:20:54 +08:00
34BFF76918A9449ABAB323149DDCEA73 7e6f7cc8fb feat: 本机.env启动,入站与选品落表补审计字段
- 接口1/选品 INSERT 写入创建人更新人 0/系统管理员
- 选品 deal_result 按 GBK 字节截到 VARCHAR2(200)
- Windows 从本机 .env 启动;选品空缺时复用 rpa_oms/.env
2026-10-02 22:46:22 +08:00
Yuuuu d7b3ec48e6 chore: 根目录改成 oms + 四个英文作业包
选品流程迁到 rpa_selection,资料并入 docs。合同页面脚本迁入 rpa_contract,删除 rpa_yisaiqi。加购和返利先占位。
2026-10-02 21:24:46 +08:00
Yuuuu f40822566e docs: handle leftover untracked files in layout spec 2026-10-02 18:02:21 +08:00
Yuuuu ec3ae342fc docs: distinguish tracked vs untracked files in layout spec 2026-10-02 17:58:32 +08:00
Yuuuu e4875c58e5 docs: lock repo layout for oms + four English job packages 2026-10-02 17:42:43 +08:00
Yuuuu ef9c6f09c6 feat: 选品按四级仓序跨平台拆量落表
Unify 1药城 and 药帮忙 candidates, filter at 4% margin, greedy-split by warehouse rank, and persist allocated qty. Short stock is a business fail; a peer outage with leftover shortfall stays a system fault. No cart, no interface 2.
2026-10-02 17:08:16 +08:00
Yuuuu 94215f7a7f docs: lock 选品跨平台仓序与拆量口径
Record the 2026-10-02 selection rules: 4% margin, four-tier mixed warehouses, greedy split allocation, all-or-nothing persist. No cart, no interface 2.
2026-10-02 16:59:53 +08:00
Yuuuu 5a3951362a feat: 接口1销售商品收件,按omsId幂等落表
订单中心 POST /api/oms/v1/sales-goods,校验后写入
rpa_sales_goods_mapping_data(deal_flag=0)。同 omsId 再推回 DUPLICATE,不更新。
Windows 连 Oracle 测;密码只走环境变量。
2026-10-02 10:57:21 +08:00
Yuuuu 32ad7d327f feat: add job search, bucket counts, and operator console polish
State center web can filter jobs by id/supplier/source/node, keep task
selection tied to the current job, and jump from timeline to node detail.
2026-09-11 22:03:59 +08:00
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
Yuuuu 63eec40334 Merge branch 'feat/contract-create-ui'
YiSaiQi CONTRACT_CREATE studio project, Selenium flow, and canvas artifacts.
2026-08-31 11:02:50 +08:00
34BFF76918A9449ABAB323149DDCEA73 94db441de0 feat: add YiSaiQi studio project for CONTRACT_CREATE on other machines 2026-08-31 10:22:10 +08:00
34BFF76918A9449ABAB323149DDCEA73 5824279fd5 feat: complete CONTRACT_CREATE page flow with Selenium adapter 2026-08-31 10:18:24 +08:00
34BFF76918A9449ABAB323149DDCEA73 ca79659e3e feat: add Windows Selenium runner for CONTRACT_CREATE 2026-08-13 15:26:34 +08:00
Yuuuu 4060d7b45d feat: add portable mock agent that follows next_node
Introduce a shared start/complete/fail shell and a mock runner so macOS can close the 13-node chain without YiSaiQi. Human nodes leave only through task submit, contract wait uses check-result, and submit tokens stay within the 64-char column.
2026-08-13 11:35:10 +08:00
Yuuuu 979ff6a3ba fix: close state machine exits for archive, retry, and human nodes
Archive the job when entering ARCHIVE_JOB. Add a retry endpoint that reopens FAILED_RETRYABLE without overwriting attempt history. Escalate contract-wait timeout into an OPS task, and reject RPA complete on human nodes so only task submit can leave them.
2026-08-13 11:24:51 +08:00
Yuuuu 26ac889b4a chore: initial import of AutoRpa state center and YiSaiQi package
Import the existing state center, web UI, YiSaiQi callback skeleton, and project docs. Ignore local venvs, node_modules, recordings, and the duplicate state_center copy.
2026-08-13 11:12:15 +08:00