Open janslee opened 8 years ago
创建订单模块 Order(订单表) + LineItem(订单详情)
订单生命周期: 创建(New) -->提交(Submitted) --> 上级审核,通过(audit_pass) --> 完成(Complete) -->不通过(audit_failed) -->订单关闭(closed)
订单关闭,可能有多个理由,所以需要有层级关系实现,如 status = closed, reason=(reason a,reason b,reason c)
创建订单模块 Order(订单表) + LineItem(订单详情)
订单生命周期: 创建(New) -->提交(Submitted) --> 上级审核,通过(audit_pass) --> 完成(Complete) -->不通过(audit_failed) -->订单关闭(closed)
订单关闭,可能有多个理由,所以需要有层级关系实现,如 status = closed, reason=(reason a,reason b,reason c)