Files
shanxia2.0/docs/crm-migration/plans/supplier-info/04-api-spec.md
T
2026-06-01 08:21:21 +08:00

19 lines
983 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.
# 供方信息 — 04 API 规格
> 门户:`POST /web/crm/supplierInfo/*`
> Java 快照:`reference/java/supplier-info/`(P0-1 已拷贝)
| # | 原 CRM | 门户目标 | Java 方法 | Python | 状态 |
|---|--------|----------|-----------|--------|------|
| 1 | GET `/list` | POST `.../list` | `queryPageList` | `list_supplier_info` | ✅ |
| 2 | GET `/listAll` | POST `.../listAll` | `queryList` | `list_all_supplier_info` | ✅ |
| 3 | GET `/{id}` | POST `.../detail` | `queryById` | `get_supplier_info` | ✅ |
| 4 | POST `/` | POST `.../add` | `insertByBo` | `create_supplier_info` | ✅ |
| 5 | PUT `/` | POST `.../update` | `updateByBo` | `update_supplier_info` | ✅ |
| 6 | DELETE `/{ids}` | POST `.../delete` | `deleteWithValidByIds` | `soft_delete_supplier_info` | ✅ |
| 7 | POST `/export` | POST `.../export` | `queryList` + Excel | `SUPPLIER_INFO_EXPORT_COLUMNS` | ✅ |
## DDL
`docs/sql/incremental_crm_supplier_info.sql` — **部署库须手动执行**。