janslee / jeesite_refactor

Refactor jeesite to integrate CAS,etc
Apache License 2.0
3 stars 0 forks source link

实现一个简单的工作流,来完成订单的创建、审核、协同审核、到完成 #4

Open janslee opened 8 years ago

janslee commented 8 years ago

创建订单模块 Order(订单表) + LineItem(订单详情)

订单生命周期: 创建(New) -->提交(Submitted) --> 上级审核,通过(audit_pass) --> 完成(Complete) -->不通过(audit_failed) -->订单关闭(closed)

订单关闭,可能有多个理由,所以需要有层级关系实现,如 status = closed, reason=(reason a,reason b,reason c)