售后架构
一、表结构
- es_refund(退款/退货单)表
通过refuse_type字段来区分是退款还是退货
- es_refund_goods(退款/货 商品表)表
通过refund_sn来关联的退款单
二、退款
见《退款架构》
三、退货
见《退货架构》
四、关于售后过期的控制
1、es_order表中的 service_status 状态标记为售后已过期 见:com.enation.app.shop.trade.model.enums.ServiceStatus 2、在订单列表中要判断 service_status 的状态来确定是否可以申请售后 (不是在界面中,而是更改 allowApplyService 属性)