php - Database design ideas for order review
天蓬老师
天蓬老师 2017-05-31 10:34:21
0
1
599

Currently we need to make an order review tool, which needs to review the information submitted by users from different places. If it passes, the points will be increased. If it fails, the points will not be increased or decreased, and this audit record must also be saved.

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
黄舟

One table records audit records, one table records orders, and one table records user information.
Relationship:
The order table and the audit record table are in a 1-to-1 relationship
The user table and the order table are in a 1-to-n relationship, that is, one user can correspond to multiple orders.

Increase points after passing the review, in the step of passing the review. Auditing and points auto-increment are the same transaction, so that’s fine.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!