1.6 KiB
1.6 KiB
Waybill Service
运单服务 - 运单管理、电子面单申请、打印、状态跟踪
基本信息
- 服务端口: 8086
- 服务名称: waybill-service
- 模块分支: 业务域/功能模块
- 数据库: erp_db
功能清单
- 运单生成
- 运单查询
- 物流对接
API接口
| 方法 | 路径 | 描述 |
|---|---|---|
| GET | /api/waybills/{id} | WaybillController接口 |
| GET | /api/waybills/no/{waybillNo} | WaybillController接口 |
| GET | /api/waybills/order/{orderId} | WaybillController接口 |
| GET | /api/waybills/{waybillNo}/tracking | WaybillController接口 |
| GET | /api/waybills/{waybillNo}/traces | WaybillController接口 |
| GET | /api/waybills/order/{orderId}/print-logs | WaybillController接口 |
| POST | /api/waybills/apply | WaybillController接口 |
| POST | /api/waybills/apply/batch | WaybillController接口 |
| POST | /api/waybills/cancel | WaybillController接口 |
| POST | /api/waybills/void | WaybillController接口 |
| POST | /api/waybills/{id}/print | WaybillController接口 |
| POST | /api/waybills/{id}/reprint | WaybillController接口 |
| POST | /api/waybills/{id}/change-no | WaybillController接口 |
| POST | /api/waybills/{waybillNo}/sync | WaybillController接口 |
| POST | /api/waybills/sync/batch | WaybillController接口 |
数据库表
| 表名 | 说明 |
|---|---|
| waybills | Waybill |
| print_logs | PrintLog |
| logistics_traces | LogisticsTrace |
| waybill_status | WaybillStatus |
配置文件
- application.yml: 应用配置
启动方式
mvn clean package
java -jar target/waybill-service.jar