Please enable JavaScript.
Coggle requires JavaScript to display documents.
紅利點數狀態文案顯示判斷規則 (point_event對應不到pe_id的資料,pe_id=0 (status=3 (點數>0 (有pr_ab…
紅利點數狀態文案顯示判斷規則
point_event對應不到pe_id的資料,pe_id=0
status=3
點數>0
有pr_ab_id
2活動贈點
沒有pr_ab_id
3.退貨還點
點數<0
沒有pr_ab_id
4.兌換使用
有pr_ab_id
5.活動扣點
status=2
點數>0
沒有pr_ab_id
1.消費贈點
有pr_ab_id
2.活動贈點
點數<0
8.其他
status=1
點數>0
有pr_ab_id
2.活動贈點
沒有pr_ab_id
DB無此資料
點數<0
8.其他
point_event可對應到pe_id的資料
status=1
點數>0
沒有point_event_start
1消費贈點
有point_event_start
2活動贈點
點數<0
8.其他
status=3
點數>0
1消費贈點
點數<0
6.退貨扣點
status=2
點數>0
有point_event_start
2活動贈點
沒有point_event_start
1消費贈點
點數<0
6.退貨扣點
5
點數<0
6退貨扣點
點數>0
3退貨還點
status=6
點數<0或>0
7點數調整
pr_end_time<NOW
expired_status=0,點數過期
其他
8.其他