## 复购订单区域分红按业绩处理;
This commit is contained in:
parent
da53b0ce35
commit
13736b4c3c
|
@ -208,7 +208,7 @@
|
|||
nvl(soi.pk_order, 0) pk_order,
|
||||
nvl(soi.pk_wares, 0) pk_wares,
|
||||
sum(soi.achievement * soi.quantity) wares_price,
|
||||
max(soi.wares_quantity) wares_quantity,
|
||||
max(soi.wares_quantity) wares_quantity
|
||||
from sa_order so
|
||||
left join sa_order_items soi
|
||||
on soi.pk_order = so.pk_id
|
||||
|
|
Loading…
Reference in New Issue