# Logistics Service
ERP物流轨迹服务 - 物流轨迹同步、多物流商适配、运单状态查询

## 基本信息
- **服务端口**: 8086
- **服务名称**: logistics-service
- **模块分支**: 业务域/功能模块
- **数据库**: erp_db

## 功能清单
1. 物流跟踪
2. 运费计算
3. 物流公司对接

## API接口
| 方法 | 路径 | 描述 |
|------|------|------|
| GET | /api/logistics/trace/{waybillNo} | LogisticsController接口 |
| GET | /api/logistics/status/{waybillNo} | LogisticsController接口 |
| GET | /api/logistics/waybills | LogisticsController接口 |
| GET | /api/logistics/carriers | LogisticsController接口 |
| POST | /api/logistics/sync | LogisticsController接口 |
| POST | /api/logistics/sync/batch | LogisticsController接口 |
| POST | /api/logistics/callback/{carrier} | LogisticsController接口 |
| POST | /api/logistics/waybill | LogisticsController接口 |

## 数据库表
| 表名 | 说明 |
|------|------|
| logistics_trace | LogisticsTrace |
| logistics_waybill_status | WaybillStatus |

## 配置文件
- application.yml: 应用配置

## 启动方式
```bash
mvn clean package
java -jar target/logistics-service.jar
```
