2024-05-08 16:54:40 +08:00
|
|
|
|
# 差旅项目功能模块
|
2024-05-07 10:41:08 +08:00
|
|
|
|
## application
|
|
|
|
|
### commands
|
|
|
|
|
继承command类,通用的of方法用于选取处理方法
|
|
|
|
|
### dtos
|
|
|
|
|
业务数据类
|
|
|
|
|
### in
|
|
|
|
|
内部接口
|
|
|
|
|
### out
|
|
|
|
|
登录
|
|
|
|
|
### queryies
|
|
|
|
|
订单查询方法工具类
|
|
|
|
|
### services
|
|
|
|
|
登录、订单service
|
|
|
|
|
### system
|
|
|
|
|
系统公告、用户
|
|
|
|
|
## domain
|
|
|
|
|
### aggregates
|
|
|
|
|
表对应基础类
|
|
|
|
|
### event
|
|
|
|
|
行程leg监听器
|
|
|
|
|
### exceptions
|
|
|
|
|
异常处理类
|
|
|
|
|
### factoriy
|
|
|
|
|
订单、定位、行程等工厂方法和实现类
|
|
|
|
|
### repository
|
|
|
|
|
dao层
|
|
|
|
|
### service
|
|
|
|
|
登录、订单、行程等service方法和实现类
|
|
|
|
|
### value_object
|
|
|
|
|
实体类,有部分只创建了个类
|
|
|
|
|
## infrastructure
|
|
|
|
|
### cache
|
|
|
|
|
Redis等缓存配置
|
|
|
|
|
### config
|
|
|
|
|
日志、Redis、跨域等配置
|
|
|
|
|
### constant
|
|
|
|
|
常量
|
|
|
|
|
### echo_framework
|
|
|
|
|
command部分父类、工具类等
|
|
|
|
|
### export
|
|
|
|
|
Excel导出
|
|
|
|
|
### handler
|
|
|
|
|
异常处理中心
|
|
|
|
|
### repository
|
|
|
|
|
dao层
|
|
|
|
|
### util
|
|
|
|
|
加密、jwt等工具类
|
|
|
|
|
## interfaces
|
|
|
|
|
### rest
|
2024-05-08 16:54:40 +08:00
|
|
|
|
高德、同程、携程等第三方API
|
|
|
|
|
|
|
|
|
|
# 表
|
|
|
|
|
## 结算记录表 非实时(同程是 月初才有数据 , 携程是 T+1)
|
|
|
|
|
order_flight_record
|
|
|
|
|
order_hotel_record
|
|
|
|
|
order_train_record
|
|
|
|
|
order_car_record
|
|
|
|
|
|
|
|
|
|
## 结算详情表 实时
|
|
|
|
|
flight_order_detail
|
|
|
|
|
hotel_order_detail
|
|
|
|
|
train_order_detail
|
|
|
|
|
car_order_detail
|